diff options
author | Rodney Dawes <dobey@src.gnome.org> | 2003-01-15 01:29:22 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2003-01-15 01:29:22 +0800 |
commit | 8064872a9db122ecea76fac4ba72e30666f8d084 (patch) | |
tree | 752b2849ee3e07cd2bbc78693a2e5dc584089b61 /mail | |
parent | 5513846c31d1e0004e9ad1d65dca9efd929b16e2 (diff) | |
download | gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar.gz gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar.bz2 gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar.lz gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar.xz gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.tar.zst gsoc2013-evolution-8064872a9db122ecea76fac4ba72e30666f8d084.zip |
Switch to using GtkPaned instead of EPaned for GTK2
svn path=/trunk/; revision=19444
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/folder-browser.c | 15 |
2 files changed, 11 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 645bb3be7a..9b0c8467d9 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2003-01-14 Rodney Dawes <dobey@ximian.com> + + * folder-browser.c: Use GtkPaned instead of EPaned + 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (account_new_from_xml): Perform some sanity diff --git a/mail/folder-browser.c b/mail/folder-browser.c index b2cd8db6a3..b0ed22370f 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -31,7 +31,6 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtkinvisible.h> -#include <gal/e-paned/e-vpaned.h> #include <gal/e-table/e-table.h> #include <gal/util/e-util.h> #include <gal/widgets/e-gui-utils.h> @@ -1145,12 +1144,12 @@ folder_browser_set_message_preview (FolderBrowser *folder_browser, gboolean show if (show_preview) { y = save_cursor_pos (folder_browser); - e_paned_set_position (E_PANED (folder_browser->vpaned), paned_size); + gtk_paned_set_position (GTK_PANED (folder_browser->vpaned), paned_size); gtk_widget_show (GTK_WIDGET (folder_browser->mail_display)); do_message_selected (folder_browser); set_cursor_pos (folder_browser, y); } else { - e_paned_set_position (E_PANED (folder_browser->vpaned), 10000); + gtk_paned_set_position (GTK_PANED (folder_browser->vpaned), 10000); gtk_widget_hide (GTK_WIDGET (folder_browser->mail_display)); mail_display_set_message (folder_browser->mail_display, NULL, NULL, NULL); folder_browser_ui_message_loaded (folder_browser); @@ -2357,7 +2356,7 @@ paned_size_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpoin g_signal_handler_block (fb->message_list, fb->paned_resize_id); paned_size = gconf_client_get_int (client, "/apps/evolution/mail/display/paned_size", NULL); - e_paned_set_position (E_PANED (fb->vpaned), paned_size); + gtk_paned_set_position (GTK_PANED (fb->vpaned), paned_size); g_signal_handler_unblock (fb->message_list, fb->paned_resize_id); } @@ -2413,7 +2412,7 @@ folder_browser_gui_init (FolderBrowser *fb) int paned_size; /* The panned container */ - fb->vpaned = e_vpaned_new (); + fb->vpaned = gtk_vpaned_new (); gtk_widget_show (fb->vpaned); gtk_table_attach (GTK_TABLE (fb), fb->vpaned, @@ -2452,7 +2451,7 @@ folder_browser_gui_init (FolderBrowser *fb) g_signal_connect (esm, "cursor_activated", G_CALLBACK (on_cursor_activated), fb); fb->selection_state = FB_SELSTATE_NONE; /* default to none */ - e_paned_add1 (E_PANED (fb->vpaned), GTK_WIDGET (fb->message_list)); + gtk_paned_add1 (GTK_PANED (fb->vpaned), GTK_WIDGET (fb->message_list)); gtk_widget_show (GTK_WIDGET (fb->message_list)); fb->paned_resize_id = g_signal_connect (fb->message_list, "size_allocate", @@ -2489,8 +2488,8 @@ folder_browser_gui_init (FolderBrowser *fb) paned_size_changed, fb, NULL, NULL); paned_size = gconf_client_get_int (gconf, "/apps/evolution/mail/display/paned_size", NULL); - e_paned_add2 (E_PANED (fb->vpaned), GTK_WIDGET (fb->mail_display)); - e_paned_set_position (E_PANED (fb->vpaned), paned_size); + gtk_paned_add2 (GTK_PANED (fb->vpaned), GTK_WIDGET (fb->mail_display)); + gtk_paned_set_position (GTK_PANED (fb->vpaned), paned_size); gtk_widget_show (GTK_WIDGET (fb->mail_display)); gtk_widget_show (GTK_WIDGET (fb)); } |