diff options
author | Not Zed <NotZed@Ximian.com> | 2003-04-16 13:03:22 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-04-16 13:03:22 +0800 |
commit | f1f8caabf52854bed8332c55a7427414dd0de516 (patch) | |
tree | e4f69f7e706fa2a5f529327d9839253950b4d82b /mail/subscribe-dialog.glade | |
parent | 1cddfbd5e59cc1de55072c79bf44447620f1ebc0 (diff) | |
download | gsoc2013-evolution-f1f8caabf52854bed8332c55a7427414dd0de516.tar.gz gsoc2013-evolution-f1f8caabf52854bed8332c55a7427414dd0de516.tar.zst gsoc2013-evolution-f1f8caabf52854bed8332c55a7427414dd0de516.zip |
For bug #41199.
2003-04-15 Not Zed <NotZed@Ximian.com>
* For bug #41199.
* subscribe-dialog.glade: New interface from Anna. Setup the
wigdet names and add a progress bar, and set the default opening
size to something reasonable.
* subscribe-dialog.c (subscribe_dialog_construct): changes to
match the glade file chagnes. remove the search stuff. hide the
progress bar by default.
(sc_activity_cb): show the progress bar when we're active, hide
it when inactive. dont set any status.
(struct _SubscribeDialogPrivate): Remove the appbar.
svn path=/trunk/; revision=20858
Diffstat (limited to 'mail/subscribe-dialog.glade')
-rw-r--r-- | mail/subscribe-dialog.glade | 431 |
1 files changed, 260 insertions, 171 deletions
diff --git a/mail/subscribe-dialog.glade b/mail/subscribe-dialog.glade index 0cbeb7ac59..e67bb74923 100644 --- a/mail/subscribe-dialog.glade +++ b/mail/subscribe-dialog.glade @@ -2,225 +2,327 @@ <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <glade-interface> -<requires lib="gnome"/> -<requires lib="bonobo"/> -<widget class="GnomeApp" id="app"> +<widget class="GtkWindow" id="subscribe_dialog"> + <property name="width_request">500</property> + <property name="height_request">400</property> <property name="visible">True</property> - <property name="title" translatable="yes">Manage Subscriptions</property> + <property name="title" translatable="yes">Folder Subscriptions</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_NONE</property> <property name="modal">False</property> <property name="resizable">True</property> <property name="destroy_with_parent">False</property> - <property name="enable_layout_config">True</property> - <child internal-child="dock"> - <widget class="BonoboDock" id="dock2"> - <property name="border_width">3</property> + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="border_width">12</property> <property name="visible">True</property> - <property name="allow_floating">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> <child> - <widget class="BonoboDockItem" id="dockitem2"> - <property name="border_width">1</property> + <widget class="GtkHBox" id="hbox1"> <property name="visible">True</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> <child> - <widget class="GtkToolbar" id="toolbar1"> - <property name="border_width">1</property> + <widget class="GtkLabel" id="label1"> <property name="visible">True</property> - <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> - <property name="toolbar_style">GTK_TOOLBAR_BOTH</property> - <property name="tooltips">True</property> + <property name="label" translatable="yes">S_erver:</property> + <property name="use_underline">True</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="mnemonic_widget">store_menu</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> - <child> - <widget class="button" id="refresh_button"> - <property name="visible">True</property> - <property name="label" translatable="yes">Refresh List</property> - <property name="use_underline">True</property> - <property name="stock_pixmap">gtk-refresh</property> - </widget> - </child> + <child> + <widget class="GtkOptionMenu" id="store_menu"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="history">0</property> <child> - <widget class="button" id="close_button"> - <property name="visible">True</property> - <property name="label" translatable="yes">Close</property> - <property name="use_underline">True</property> - <property name="stock_pixmap">gtk-close</property> + <widget class="GtkMenu" id="menu1"> + + <child> + <widget class="GtkMenuItem" id="no_imap_server_selected1"> + <property name="visible">True</property> + <property name="label" translatable="yes">None Selected</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_no_imap_server_selected1_activate" last_modification_time="Mon, 14 Apr 2003 17:08:20 GMT"/> + </widget> + </child> </widget> - <packing> - <property name="new_group">True</property> - </packing> </child> </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkProgressBar" id="progress_bar"> + <property name="visible">True</property> + <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property> + <property name="fraction">0</property> + <property name="pulse_step">0.1</property> + <property name="text" translatable="yes">Scanning folders ...</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">GTK_PACK_END</property> + </packing> </child> </widget> <packing> - <property name="placement">BONOBO_DOCK_TOP</property> - <property name="band">0</property> - <property name="position">0</property> - <property name="offset">0</property> - <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE</property> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> </packing> </child> <child> - <widget class="GtkVBox" id="vbox6"> - <property name="border_width">3</property> + <widget class="GtkHBox" id="tree_box"> <property name="visible">True</property> <property name="homogeneous">False</property> - <property name="spacing">3</property> + <property name="spacing">6</property> <child> - <widget class="GtkHBox" id="hbox7"> + <widget class="GtkVButtonBox" id="vbuttonbox1"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> + <property name="layout_style">GTK_BUTTONBOX_START</property> + <property name="spacing">6</property> <child> - <widget class="GtkLabel" id="label5"> + <widget class="GtkButton" id="subscribe_button"> <property name="visible">True</property> - <property name="label" translatable="yes">S_elect server: </property> - <property name="use_underline">True</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_CENTER</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="mnemonic_widget">store_menu</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + + <child> + <widget class="GtkAlignment" id="alignment1"> + <property name="visible">True</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">0</property> + <property name="yscale">0</property> + + <child> + <widget class="GtkHBox" id="hbox3"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">2</property> + + <child> + <widget class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="stock">gtk-add</property> + <property name="icon_size">4</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Subscribe</property> + <property name="use_underline">True</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + </child> + </widget> + </child> </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> </child> <child> - <widget class="GtkOptionMenu" id="store_menu"> + <widget class="GtkButton" id="unsubscribe_button"> <property name="visible">True</property> + <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="history">-1</property> + <property name="relief">GTK_RELIEF_NORMAL</property> - <child internal-child="menu"> - <widget class="GtkMenu" id="convertwidget1"> + <child> + <widget class="GtkAlignment" id="alignment2"> <property name="visible">True</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">0</property> + <property name="yscale">0</property> + + <child> + <widget class="GtkHBox" id="hbox4"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">2</property> + + <child> + <widget class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="stock">gtk-remove</property> + <property name="icon_size">4</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Unsubscribe</property> + <property name="use_underline">True</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + </child> </widget> </child> </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> </child> </widget> <packing> <property name="padding">0</property> <property name="expand">False</property> - <property name="fill">True</property> + <property name="fill">False</property> + <property name="pack_type">GTK_PACK_END</property> </packing> </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHSeparator" id="hseparator1"> + <property name="visible">True</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="hbox5"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> <child> - <widget class="GtkHBox" id="tree_box"> + <widget class="GtkHButtonBox" id="hbuttonbox2"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property> <property name="spacing">0</property> <child> - <placeholder/> + <widget class="GtkButton" id="button5"> + <property name="visible">True</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label">gtk-help</property> + <property name="use_stock">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + </widget> </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkHButtonBox" id="hbuttonbox1"> + <property name="visible">True</property> + <property name="layout_style">GTK_BUTTONBOX_END</property> + <property name="spacing">12</property> <child> - <widget class="GtkVBox" id="vbox7"> - <property name="border_width">3</property> + <widget class="GtkButton" id="refresh_button"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">3</property> - - <child> - <widget class="GtkLabel" id="label6"> - <property name="visible">True</property> - <property name="label" translatable="yes"> -</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_CENTER</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - - <child> - <widget class="GtkVButtonBox" id="vbuttonbox6"> - <property name="visible">True</property> - <property name="layout_style">GTK_BUTTONBOX_SPREAD</property> - <property name="spacing">0</property> - - <child> - <widget class="GtkButton" id="subscribe_button"> - <property name="visible">True</property> - <property name="can_default">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">_Subscribe</property> - <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - </widget> - </child> - - <child> - <widget class="GtkButton" id="unsubscribe_button"> - <property name="visible">True</property> - <property name="can_default">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">_Unsubscribe</property> - <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - </widget> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label">gtk-refresh</property> + <property name="use_stock">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + </widget> + </child> - <child> - <widget class="GtkVButtonBox" id="vbuttonbox7"> - <property name="visible">True</property> - <property name="layout_style">GTK_BUTTONBOX_START</property> - <property name="spacing">10</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <child> + <widget class="GtkButton" id="close_button"> + <property name="visible">True</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label">gtk-close</property> + <property name="use_stock">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="pack_type">GTK_PACK_END</property> - </packing> </child> </widget> <packing> @@ -230,26 +332,13 @@ </packing> </child> </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> </child> </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> - </child> - - <child internal-child="appbar"> - <widget class="GnomeAppBar" id="appbar2"> - <property name="visible">True</property> - <property name="has_progress">True</property> - <property name="has_status">True</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> </child> </widget> |