]> git.0d.be Git - empathy.git/commitdiff
move 'View Previous Conversations' menu entry to View
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 22 May 2009 16:07:55 +0000 (17:07 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 22 May 2009 16:07:55 +0000 (17:07 +0100)
src/empathy-main-window.c
src/empathy-main-window.ui

index cef3732b1c4904da0b64b7596bab906f121a9340..d453fed44eaddd39ddb8bac51ebc45cf19d97fa9 100644 (file)
@@ -93,7 +93,7 @@ typedef struct {
        GtkWidget              *errors_vbox;
 
        GtkUIManager           *ui_manager;
-       GtkAction              *chat_history;
+       GtkAction              *view_history;
        GtkAction              *room_join_favorites;
        GtkWidget              *room_menu;
        GtkWidget              *room_separator;
@@ -663,7 +663,7 @@ main_window_chat_quit_cb (GtkAction         *action,
 }
 
 static void
-main_window_chat_history_cb (GtkAction         *action,
+main_window_view_history_cb (GtkAction         *action,
                             EmpathyMainWindow *window)
 {
        empathy_log_window_show (NULL, NULL, FALSE, GTK_WINDOW (window->window));
@@ -993,7 +993,7 @@ main_window_account_created_or_deleted_cb (EmpathyAccountManager  *manager,
                                           McAccount              *account,
                                           EmpathyMainWindow      *window)
 {
-       gtk_action_set_sensitive (window->chat_history,
+       gtk_action_set_sensitive (window->view_history,
                empathy_account_manager_get_count (manager) > 0);
 }
 
@@ -1120,7 +1120,7 @@ empathy_main_window_show (void)
                                       "errors_vbox", &window->errors_vbox,
                                       "ui_manager", &window->ui_manager,
                                       "view_show_offline", &show_offline_widget,
-                                      "chat_history", &window->chat_history,
+                                      "view_history", &window->view_history,
                                       "room_join_favorites", &window->room_join_favorites,
                                       "presence_toolbar", &window->presence_toolbar,
                                       "roster_scrolledwindow", &sw,
@@ -1132,7 +1132,7 @@ empathy_main_window_show (void)
                              "main_window", "configure_event", main_window_configure_event_cb,
                              "chat_quit", "activate", main_window_chat_quit_cb,
                              "chat_new_message", "activate", main_window_chat_new_message_cb,
-                             "chat_history", "activate", main_window_chat_history_cb,
+                             "view_history", "activate", main_window_view_history_cb,
                              "room_join_new", "activate", main_window_room_join_new_cb,
                              "room_join_favorites", "activate", main_window_room_join_favorites_cb,
                              "room_manage_favorites", "activate", main_window_room_manage_favorites_cb,
index bf9ebbca4f5dd4d82bea2cc7c4b1432bbeb9fcbf..14660b75cac046a86be31dd99f86af5350bb2d09 100644 (file)
@@ -19,9 +19,9 @@
           <accelerator key="N" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
-          <object class="GtkAction" id="chat_history">
+          <object class="GtkAction" id="view_history">
             <property name="icon-name">document-open-recent</property>
-            <property name="name">chat_history</property>
+            <property name="name">view_history</property>
             <property name="label" translatable="yes">_View Previous Conversations</property>
           </object>
           <accelerator key="F3" modifiers=""/>
       <menubar name="menubar">
         <menu action="chat">
           <menuitem action="chat_new_message"/>
-          <menuitem action="chat_history"/>
           <separator/>
           <menuitem action="chat_add_contact"/>
           <separator/>
         <menu action="view">
           <menuitem action="view_show_offline"/>
           <separator/>
+          <menuitem action="view_history"/>
           <menuitem action="view_show_ft_manager"/>
         </menu>
         <menu action="room">