2002-05-24 Chris Toshok <toshok@ximian.com> [ fixes 90% of #25047 ] * e-folder-list.c (get_folder_for_uri): shamelessly lifted from evolution-folder-selector-button.c. (create_display_string): modeled again after evolution-folder-selector-button.c, so we can give a little more context (and make the table look like the folder selector buttons.) (SPEC): add a pixbuf column, also remove the sorting behavior. (columns): add a pixbuf column and another string column (for the display string). (add_clicked): create the display string and get the proper pixbuf, and insert both. (edit_clicked): removed. (update_buttons): remove edit button handling from here. (e_folder_list_init): remove the hooking up of button-edit's "clicked" signal. (e_folder_list_construct): get a reference to the storage registry so we can look up folders. (e_folder_list_set_items): analogous change to add_clicked - get the display string and pixbuf and insert them. * glade/e-folder-list.glade: remove the edit button. * glade/e-shell-config-default-folders.glade: remove the frame/vbox, since we embed it in a notebook and the tab has the title already. * e-shell-config.c (config_control_factory_cb): the only config control we deal with here now is the folder settings control. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): rename e_shell_config_default_folders_create_control to this, return the widget, and take the config control to use as an arg. * e-shell-config-offline.c (e_shell_config_offline_create_widget): make an analogous change here as with default_folders_create_widget. * e-shell-config-default-folders.h (e_shell_config_default_folders_create_widget): track change to prototype. * e-shell-config-offline.h (e_shell_config_offline_create_widget): same. * GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and OfflineFolders controls and add a FolderSettings_Control. * Makefile.am (evolution_SOURCES): add e-shell-config-folder-settings.[ch] and e-shell-config-autocompletion.[ch]. * e-shell-config-folder-settings.[ch]: new files, embed (after a fashion) the default folder, offline, and autocompletion UI's in a notebook. * e-shell-config-autocompletion.[ch]: Basically copy over and shell-ize the addressbook autocompletion config control so it can be embedded more easily with the other folder settings. svn path=/trunk/; revision=17000
121 lines
3.0 KiB
XML
121 lines
3.0 KiB
XML
<?xml version="1.0"?>
|
|
<GTK-Interface>
|
|
|
|
<project>
|
|
<name>e-addressbook-folder-list</name>
|
|
<program_name>e-addressbook-folder-list</program_name>
|
|
<directory></directory>
|
|
<source_directory>src</source_directory>
|
|
<pixmaps_directory>pixmaps</pixmaps_directory>
|
|
<language>C</language>
|
|
<gnome_support>True</gnome_support>
|
|
<gettext_support>True</gettext_support>
|
|
<output_main_file>False</output_main_file>
|
|
<output_support_files>False</output_support_files>
|
|
<output_build_files>False</output_build_files>
|
|
</project>
|
|
|
|
<widget>
|
|
<class>GtkWindow</class>
|
|
<name>window-contents-reparented</name>
|
|
<visible>False</visible>
|
|
<title>window1</title>
|
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>True</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
|
|
<widget>
|
|
<class>GtkFrame</class>
|
|
<name>frame-toplevel</name>
|
|
<label></label>
|
|
<label_xalign>0</label_xalign>
|
|
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>vbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
|
|
<widget>
|
|
<class>Custom</class>
|
|
<name>custom-optionmenu</name>
|
|
<creation_function>create_custom_optionmenu</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Fri, 22 Mar 2002 15:09:48 GMT</last_modification_time>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>Custom</class>
|
|
<name>custom-folder-list</name>
|
|
<creation_function>create_custom_folder_list</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Tue, 19 Mar 2002 18:07:28 GMT</last_modification_time>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVButtonBox</class>
|
|
<name>vbuttonbox1</name>
|
|
<layout_style>GTK_BUTTONBOX_START</layout_style>
|
|
<spacing>0</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-add</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>_Add</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-remove</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>_Delete</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
</GTK-Interface>
|