From 1cb3f6986b706aef6f508f547f70de1691e5b3bd Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 16 Aug 2002 19:28:54 +0000 Subject: Change this into a GnomeApp so we get a statusbar and the dialog is a 2002-08-09 Peter Williams * subscribe-dialog.c: Change this into a GnomeApp so we get a statusbar and the dialog is a little more comprehensible. * subscribe-dialog.c: (struct _FolderETree): Add members for tracking activity callback information. (get_short_folderinfo_got): Notify the activity callback. (subscribe_get_short_folderinfo): Here too. (folder_etree_init): Initialize the activity level to 0. (folder_etree_construct): Take new parameters of our activity callback and user_data. (folder_etree_new): Here too. (store_data_get_widget): Take the parameters here and pass them on. (sc_close_pressed): New callback for when close button is pressed. (sc_activity_timeout): New timeout to move the activity bar when folders are being scanned. (sc_activity_cb): If activity_level > 0, start the progressbar moving and set the status. (menu_item_selected): Pass the callback to store_data_get_widget. (subscribe_dialog_construct): Load some more widgets and adapt to some changes in the XML. Also connect the close button signal and initialize the progress bar's settings. * mail-callbacks.c (manage_subscriptions): Don't call gnome_dialog_set_close on it anymore since it's no longer a gnome dialog. svn path=/trunk/; revision=17793 --- mail/subscribe-dialog.glade | 148 +++++++++++++++++++++++--------------------- 1 file changed, 79 insertions(+), 69 deletions(-) (limited to 'mail/subscribe-dialog.glade') diff --git a/mail/subscribe-dialog.glade b/mail/subscribe-dialog.glade index 472491b3e8..1970844367 100644 --- a/mail/subscribe-dialog.glade +++ b/mail/subscribe-dialog.glade @@ -14,73 +14,89 @@ - GnomeDialog - Manage Subscriptions + GnomeApp + app Manage Subscriptions GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False - 484 - 423 False True False - False - False + True - GtkVBox - GnomeDialog:vbox - dialog-vbox2 - False - 8 + GnomeDock + GnomeApp:dock + dock2 + 3 + True - 4 + 0 True True - GtkHButtonBox - GnomeDialog:action_area - dialog-action_area2 - GTK_BUTTONBOX_END - 8 - 85 - 27 - 7 - 0 - - 0 - False - True - GTK_PACK_END - + GnomeDockItem + dockitem2 + 1 + GNOME_DOCK_TOP + 1 + 0 + 0 + False + True + False + False + False + GTK_SHADOW_OUT - GtkButton - button9 - True - True - GNOME_STOCK_BUTTON_CLOSE + GtkToolbar + toolbar1 + 1 + GTK_ORIENTATION_HORIZONTAL + GTK_TOOLBAR_BOTH + 16 + GTK_TOOLBAR_SPACE_LINE + GTK_RELIEF_NONE + True + + + GtkButton + Toolbar:button + refresh_button + Apri file + + GNOME_STOCK_PIXMAP_REFRESH + + + + GtkButton + Toolbar:button + close_button + Salve file + + GNOME_STOCK_PIXMAP_CLOSE + + True + + GtkVBox - vbox2 + GnomeDock:contents + vbox6 3 False 3 - - 0 - True - True - GtkHBox - hbox1 + hbox7 False 0 @@ -91,15 +107,15 @@ GtkLabel - label1 - + label5 + GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 - store_menu + optionmenu2 0 False @@ -138,7 +154,7 @@ GtkVBox - vbox3 + vbox7 3 False 3 @@ -151,7 +167,7 @@ GtkLabel - label2 + label6 GTK_JUSTIFY_CENTER @@ -169,7 +185,7 @@ GtkVButtonBox - vbuttonbox2 + vbuttonbox6 GTK_BUTTONBOX_SPREAD 0 85 @@ -201,19 +217,9 @@ - - GtkHSeparator - hseparator1 - - 14 - False - False - - - GtkVButtonBox - vbuttonbox3 + vbuttonbox7 GTK_BUTTONBOX_START 10 85 @@ -225,23 +231,14 @@ False False - - - GtkButton - refresh_button - True - True - - GTK_RELIEF_NORMAL - GtkFrame - frame1 - + frame3 + 0 GTK_SHADOW_ETCHED_IN @@ -252,7 +249,7 @@ GtkHBox - hbox3 + hbox9 3 False 3 @@ -304,7 +301,7 @@ GtkHButtonBox - hbuttonbox1 + hbuttonbox3 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 @@ -321,6 +318,19 @@ + + + GnomeAppBar + GnomeApp:appbar + appbar2 + True + True + + 0 + True + True + + -- cgit v1.2.3