diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-07-06 04:07:46 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-07-06 04:07:46 +0800 |
commit | 2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8 (patch) | |
tree | a5f1c34e58dee9beb85aedf093422cf1d4c716c5 /addressbook/gui/component/ldap-server-dialog.glade | |
parent | bc4c507c9ef59d92272fccef9cda4994ce507e0a (diff) | |
download | gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.gz gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.bz2 gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.lz gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.xz gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.tar.zst gsoc2013-evolution-2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8.zip |
call e_ldap_storage_add_server call.
2000-07-05 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (new_server_cb): call
e_ldap_storage_add_server call.
* gui/component/ldap-server-dialog.glade: add name row.
* gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type.
* gui/component/e-ldap-server-dialog.c (extract_server_info): add
support for the name-entry.
* gui/component/e-ldap-server-dialog.c (fill_in_server_info): same.
* gui/component/e-ldap-storage.h: add ELDAPServer type, and add
prototypes for e_ldap_storage_add_server and
e_ldap_storage_remove_server.
* gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new
function, add it to our hash table, add a shell folder, and save
out the metadata.
(ldap_server_foreach): add the ldap server info under a
"contactserver" node.
(setup_ldap_storage): create our hashtable.
svn path=/trunk/; revision=3895
Diffstat (limited to 'addressbook/gui/component/ldap-server-dialog.glade')
-rw-r--r-- | addressbook/gui/component/ldap-server-dialog.glade | 165 |
1 files changed, 107 insertions, 58 deletions
diff --git a/addressbook/gui/component/ldap-server-dialog.glade b/addressbook/gui/component/ldap-server-dialog.glade index 71090f53dd..a4dad9c2c2 100644 --- a/addressbook/gui/component/ldap-server-dialog.glade +++ b/addressbook/gui/component/ldap-server-dialog.glade @@ -10,17 +10,7 @@ <language>C</language> <gnome_support>True</gnome_support> <gettext_support>True</gettext_support> - <use_widget_names>False</use_widget_names> <output_main_file>False</output_main_file> - <output_support_files>True</output_support_files> - <output_build_files>True</output_build_files> - <backup_source_files>True</backup_source_files> - <main_source_file>interface.c</main_source_file> - <main_header_file>interface.h</main_header_file> - <handler_source_file>callbacks.c</handler_source_file> - <handler_header_file>callbacks.h</handler_header_file> - <support_source_file>support.c</support_source_file> - <support_header_file>support.h</support_header_file> <output_translatable_strings>True</output_translatable_strings> <translatable_strings_file>ldap-server-dialog.glade.h</translatable_strings_file> </project> @@ -50,6 +40,40 @@ </child> <widget> + <class>GtkHButtonBox</class> + <child_name>GnomeDialog:action_area</child_name> + <name>dialog-action_area1</name> + <layout_style>GTK_BUTTONBOX_END</layout_style> + <spacing>8</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>True</fill> + <pack>GTK_PACK_END</pack> + </child> + + <widget> + <class>GtkButton</class> + <name>button1</name> + <can_default>True</can_default> + <can_focus>True</can_focus> + <stock_button>GNOME_STOCK_BUTTON_OK</stock_button> + </widget> + + <widget> + <class>GtkButton</class> + <name>button3</name> + <can_default>True</can_default> + <can_focus>True</can_focus> + <stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button> + </widget> + </widget> + + <widget> <class>GtkVBox</class> <name>vbox1</name> <homogeneous>False</homogeneous> @@ -63,7 +87,7 @@ <widget> <class>GtkTable</class> <name>table2</name> - <rows>4</rows> + <rows>5</rows> <columns>2</columns> <homogeneous>False</homogeneous> <row_spacing>0</row_spacing> @@ -85,8 +109,8 @@ <child> <left_attach>1</left_attach> <right_attach>2</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> + <top_attach>1</top_attach> + <bottom_attach>2</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>True</xexpand> @@ -109,8 +133,8 @@ <child> <left_attach>1</left_attach> <right_attach>2</right_attach> - <top_attach>1</top_attach> - <bottom_attach>2</bottom_attach> + <top_attach>2</top_attach> + <bottom_attach>3</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>True</xexpand> @@ -133,8 +157,8 @@ <child> <left_attach>1</left_attach> <right_attach>2</right_attach> - <top_attach>2</top_attach> - <bottom_attach>3</bottom_attach> + <top_attach>3</top_attach> + <bottom_attach>4</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>True</xexpand> @@ -157,8 +181,8 @@ <child> <left_attach>1</left_attach> <right_attach>2</right_attach> - <top_attach>3</top_attach> - <bottom_attach>4</bottom_attach> + <top_attach>4</top_attach> + <bottom_attach>5</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>True</xexpand> @@ -180,8 +204,8 @@ <child> <left_attach>0</left_attach> <right_attach>1</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> + <top_attach>1</top_attach> + <bottom_attach>2</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>True</xexpand> @@ -215,8 +239,8 @@ <child> <left_attach>0</left_attach> <right_attach>1</right_attach> - <top_attach>1</top_attach> - <bottom_attach>2</bottom_attach> + <top_attach>2</top_attach> + <bottom_attach>3</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>False</xexpand> @@ -250,8 +274,8 @@ <child> <left_attach>0</left_attach> <right_attach>1</right_attach> - <top_attach>2</top_attach> - <bottom_attach>3</bottom_attach> + <top_attach>3</top_attach> + <bottom_attach>4</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>False</xexpand> @@ -285,8 +309,8 @@ <child> <left_attach>0</left_attach> <right_attach>1</right_attach> - <top_attach>3</top_attach> - <bottom_attach>4</bottom_attach> + <top_attach>4</top_attach> + <bottom_attach>5</bottom_attach> <xpad>0</xpad> <ypad>0</ypad> <xexpand>False</xexpand> @@ -309,40 +333,65 @@ <ypad>0</ypad> </widget> </widget> - </widget> - </widget> - <widget> - <class>GtkHButtonBox</class> - <child_name>GnomeDialog:action_area</child_name> - <name>dialog-action_area1</name> - <layout_style>GTK_BUTTONBOX_END</layout_style> - <spacing>8</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>True</fill> - <pack>GTK_PACK_END</pack> - </child> + <widget> + <class>GtkEntry</class> + <name>name-entry</name> + <can_focus>True</can_focus> + <editable>True</editable> + <text_visible>True</text_visible> + <text_max_length>0</text_max_length> + <text></text> + <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>False</yfill> + </child> + </widget> - <widget> - <class>GtkButton</class> - <name>button1</name> - <can_default>True</can_default> - <can_focus>True</can_focus> - <stock_button>GNOME_STOCK_BUTTON_OK</stock_button> - </widget> + <widget> + <class>GtkAlignment</class> + <name>alignment5</name> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xscale>1</xscale> + <yscale>1</yscale> + <child> + <left_attach>0</left_attach> + <right_attach>1</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> - <class>GtkButton</class> - <name>button3</name> - <can_default>True</can_default> - <can_focus>True</can_focus> - <stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button> + <widget> + <class>GtkLabel</class> + <name>label5</name> + <label>Name:</label> + <justify>GTK_JUSTIFY_CENTER</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>0</ypad> + </widget> + </widget> </widget> </widget> </widget> |