diff options
author | Chris Toshok <toshok@ximian.com> | 2002-07-17 05:16:23 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-07-17 05:16:23 +0800 |
commit | be83568f19b08b3290a4e6b0c0e258a23d4ed360 (patch) | |
tree | 05efa0ecb7acbf437f4f1ae03fd7d21a89b19159 /addressbook/gui/component/select-names/select-names.glade | |
parent | a6b622021f53a99ddbfbe675ec1eab7500e99d55 (diff) | |
download | gsoc2013-evolution-be83568f19b08b3290a4e6b0c0e258a23d4ed360.tar.gz gsoc2013-evolution-be83568f19b08b3290a4e6b0c0e258a23d4ed360.tar.zst gsoc2013-evolution-be83568f19b08b3290a4e6b0c0e258a23d4ed360.zip |
remove the option menu and browse button, and add a custom widget
2002-07-16 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/select-names.glade: remove the option
menu and browse button, and add a custom widget placeholder for
the folder-selector.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): move the "append /addressbook.db"
stuff here.
(e_addressbook_create_ebook_table): remove the code setting
initial uri from here.
(e_select_names_folder_free): gone.
(e_select_names_option_activated): gone.
(add_menu_item): gone.
(update_option_menu): gone.
(new_folder): gone.
(removed_folder): gone.
(folder_browse): gone.
(hookup_listner): gone.
(add_additional_select_names_uris): gone.
(e_select_names_hookup_listners): gone.
(e_addressbook_create_folder_selector): new function, create the
folder selector button.
(folder_selected): new function, callback for the folder selector.
just calls addresbook_model_set_uri.
(e_select_names_init): get the folder selector and initialize it
to show /local/Contacts. also, set the model's uri here to the
same folder. nuke the code involving the old option menu and
browse button.
svn path=/trunk/; revision=17484
Diffstat (limited to 'addressbook/gui/component/select-names/select-names.glade')
-rw-r--r-- | addressbook/gui/component/select-names/select-names.glade | 72 |
1 files changed, 25 insertions, 47 deletions
diff --git a/addressbook/gui/component/select-names/select-names.glade b/addressbook/gui/component/select-names/select-names.glade index 22f3778bc8..e46d745b67 100644 --- a/addressbook/gui/component/select-names/select-names.glade +++ b/addressbook/gui/component/select-names/select-names.glade @@ -137,7 +137,7 @@ <name>table5</name> <border_width>3</border_width> <rows>2</rows> - <columns>3</columns> + <columns>2</columns> <homogeneous>False</homogeneous> <row_spacing>3</row_spacing> <column_spacing>3</column_spacing> @@ -152,7 +152,6 @@ <yalign>0.5</yalign> <xpad>0</xpad> <ypad>0</ypad> - <default_focus_target>optionmenu-folder</default_focus_target> <child> <left_attach>0</left_attach> <right_attach>1</right_attach> @@ -196,50 +195,6 @@ </widget> <widget> - <class>GtkOptionMenu</class> - <name>optionmenu-folder</name> - <can_focus>True</can_focus> - <items></items> - <initial_choice>0</initial_choice> - <child> - <left_attach>1</left_attach> - <right_attach>2</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> - <xpad>0</xpad> - <ypad>0</ypad> - <xexpand>True</xexpand> - <yexpand>False</yexpand> - <xshrink>False</xshrink> - <yshrink>False</yshrink> - <xfill>True</xfill> - <yfill>True</yfill> - </child> - </widget> - - <widget> - <class>GtkButton</class> - <name>button-browse</name> - <can_focus>True</can_focus> - <label>_Browse...</label> - <relief>GTK_RELIEF_NORMAL</relief> - <child> - <left_attach>2</left_attach> - <right_attach>3</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> - <xpad>0</xpad> - <ypad>0</ypad> - <xexpand>False</xexpand> - <yexpand>False</yexpand> - <xshrink>False</xshrink> - <yshrink>False</yshrink> - <xfill>True</xfill> - <yfill>False</yfill> - </child> - </widget> - - <widget> <class>GtkAlignment</class> <name>alignment5</name> <xalign>7.45058e-09</xalign> @@ -248,7 +203,7 @@ <yscale>1</yscale> <child> <left_attach>1</left_attach> - <right_attach>3</right_attach> + <right_attach>2</right_attach> <top_attach>1</top_attach> <bottom_attach>2</bottom_attach> <xpad>0</xpad> @@ -270,6 +225,29 @@ <last_modification_time>Tue, 19 Feb 2002 23:06:24 GMT</last_modification_time> </widget> </widget> + + <widget> + <class>Custom</class> + <name>folder-selector</name> + <creation_function>e_addressbook_create_folder_selector</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Mon, 15 Jul 2002 02:21:32 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> </widget> </widget> |