~ubuntu-branches/ubuntu/dapper/xchat-gnome/dapper

« back to all changes in this revision

Viewing changes to debian/patches/10_copy_menu_item_for_query_window.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-04-23 15:47:31 UTC
  • Revision ID: james.westby@ubuntu.com-20060423154731-hpgo3hzjl1s2sws4
Tags: 0.11-0ubuntu3
* debian/patches/09_close_server_fix.patch:
  - upstream patch, disconnect correctly from the server when closing it
    from the user interface (Ubuntu: #40815)
* debian/patches/10_copy_menu_item_for_query_window.patch:
  - upstream patch, make the context menu work from a query too  
   (Ubuntu: #40834)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: src/fe-gnome/conversation-panel.c
 
2
===================================================================
 
3
--- src/fe-gnome/conversation-panel.c   (revision 10442)
 
4
+++ src/fe-gnome/conversation-panel.c   (revision 10443)
 
5
@@ -362,6 +362,8 @@
 
6
        if (event->button == 3) {
 
7
                switch (conversation_panel_check_word (xtext, word, strlen (word))) {
 
8
                case 0:
 
9
+               case WORD_DIALOG:
 
10
+               /* FIXME: show dialog context menu */
 
11
                        {
 
12
                                GtkWidget *menu;
 
13
                                menu = gtk_ui_manager_get_widget (gui.manager, "/DefaultPopup");
 
14
@@ -418,9 +420,6 @@
 
15
                                gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 3, gtk_get_current_event_time ());
 
16
                        }
 
17
                        break;
 
18
-               case WORD_DIALOG:
 
19
-                       /* FIXME: show dialog context menu */
 
20
-                       break;
 
21
                }
 
22
        }
 
23
 }