[evolution-patches] patch for addressbook bug #60508



fixes various label issues in the ldap config dialogs.
? gui/component/THOUGHTS
? gui/component/ldap-config.gladep
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1794
diff -u -r1.1794 ChangeLog
--- ChangeLog	19 Jul 2004 17:23:46 -0000	1.1794
+++ ChangeLog	19 Jul 2004 22:29:54 -0000
@@ -1,3 +1,14 @@
+2004-07-19  Chris Toshok  <toshok ximian com>
+
+	[ fixes #60508 ]
+	
+	* gui/component/addressbook-config.h: reorder the Scopes so that
+	they match the option menu.
+
+	* gui/component/ldap-config.glade: change the scope option menu to
+	only display One and Sub, and also set the Login field to Lo_gin
+	in both dialogs.  Add accelerators for the details page as well.
+
 2004-07-16  Hans Petter Jansson  <hpj ximian com>
 
 	* gui/contact-editor/e-contact-editor.c (contact_added_cb)
Index: gui/component/addressbook-config.h
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-config.h,v
retrieving revision 1.15
diff -u -r1.15 addressbook-config.h
--- gui/component/addressbook-config.h	21 Jun 2004 21:49:01 -0000	1.15
+++ gui/component/addressbook-config.h	19 Jul 2004 22:29:54 -0000
@@ -34,9 +34,9 @@
 } AddressbookLDAPAuthType;
 
 typedef enum {
-	ADDRESSBOOK_LDAP_SCOPE_BASE,
 	ADDRESSBOOK_LDAP_SCOPE_ONELEVEL,
 	ADDRESSBOOK_LDAP_SCOPE_SUBTREE,
+	ADDRESSBOOK_LDAP_SCOPE_BASE,
 	ADDRESSBOOK_LDAP_SCOPE_LAST
 } AddressbookLDAPScopeType;
 
Index: gui/component/ldap-config.glade
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/ldap-config.glade,v
retrieving revision 1.28
diff -u -r1.28 ldap-config.glade
--- gui/component/ldap-config.glade	21 Jun 2004 21:49:01 -0000	1.28
+++ gui/component/ldap-config.glade	19 Jul 2004 22:29:58 -0000
@@ -490,7 +490,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label47">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">_Email address:</property>
+			  <property name="label" translatable="yes">Lo_gin:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -661,8 +661,8 @@
 		      <child>
 			<widget class="GtkLabel" id="label53">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">Search base:</property>
-			  <property name="use_underline">False</property>
+			  <property name="label" translatable="yes">Search _base:</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>
@@ -671,6 +671,7 @@
 			  <property name="yalign">0.5</property>
 			  <property name="xpad">0</property>
 			  <property name="ypad">0</property>
+			  <property name="mnemonic_widget">rootdn-entry</property>
 			</widget>
 			<packing>
 			  <property name="left_attach">0</property>
@@ -685,8 +686,8 @@
 		      <child>
 			<widget class="GtkLabel" id="label54">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">Search scope:</property>
-			  <property name="use_underline">False</property>
+			  <property name="label" translatable="yes">_Search scope:</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>
@@ -695,6 +696,7 @@
 			  <property name="yalign">0.5</property>
 			  <property name="xpad">0</property>
 			  <property name="ypad">0</property>
+			  <property name="mnemonic_widget">scope-optionmenu</property>
 			</widget>
 			<packing>
 			  <property name="left_attach">0</property>
@@ -814,29 +816,18 @@
 			    <widget class="GtkMenu" id="menu10">
 
 			      <child>
-				<widget class="GtkMenuItem" id="starting_point_only1">
-				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Search base only</property>
-				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_starting_point_only1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
-				</widget>
-			      </child>
-
-			      <child>
-				<widget class="GtkMenuItem" id="only_locations_contained_within_the_starting_point1">
+				<widget class="GtkMenuItem" id="one">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Only locations within starting point</property>
+				  <property name="label" translatable="yes">One</property>
 				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_only_locations_contained_within_the_starting_point1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
 				</widget>
 			      </child>
 
 			      <child>
-				<widget class="GtkMenuItem" id="starting_point_and_locations_within_it1">
+				<widget class="GtkMenuItem" id="sub">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Starting point and locations within it</property>
+				  <property name="label" translatable="yes">Sub</property>
 				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_starting_point_and_locations_within_it1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
 				</widget>
 			      </child>
 			    </widget>
@@ -948,8 +939,8 @@
 		      <child>
 			<widget class="GtkLabel" id="label58">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">Timeout:</property>
-			  <property name="use_underline">False</property>
+			  <property name="label" translatable="yes">_Timeout:</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>
@@ -958,6 +949,7 @@
 			  <property name="yalign">0.5</property>
 			  <property name="xpad">0</property>
 			  <property name="ypad">0</property>
+			  <property name="mnemonic_widget">timeout-scale</property>
 			</widget>
 			<packing>
 			  <property name="left_attach">0</property>
@@ -1071,8 +1063,8 @@
 		      <child>
 			<widget class="GtkLabel" id="label62">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">Download limit:</property>
-			  <property name="use_underline">False</property>
+			  <property name="label" translatable="yes">_Download limit:</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>
@@ -1081,6 +1073,7 @@
 			  <property name="yalign">0.5</property>
 			  <property name="xpad">0</property>
 			  <property name="ypad">0</property>
+			  <property name="mnemonic_widget">download-limit-spinbutton</property>
 			</widget>
 			<packing>
 			  <property name="left_attach">0</property>
@@ -1829,7 +1822,7 @@
 			  <child>
 			    <widget class="GtkLabel" id="label560">
 			      <property name="visible">True</property>
-			      <property name="label" translatable="yes">_Log in:</property>
+			      <property name="label" translatable="yes">_Log in method:</property>
 			      <property name="use_underline">True</property>
 			      <property name="use_markup">False</property>
 			      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1854,7 +1847,7 @@
 			  <child>
 			    <widget class="GtkLabel" id="label561">
 			      <property name="visible">True</property>
-			      <property name="label" translatable="yes">_Email address:</property>
+			      <property name="label" translatable="yes">Lo_gin:</property>
 			      <property name="use_underline">True</property>
 			      <property name="use_markup">False</property>
 			      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1864,6 +1857,7 @@
 			      <property name="yalign">0.5</property>
 			      <property name="xpad">0</property>
 			      <property name="ypad">0</property>
+			      <property name="mnemonic_widget">auth-entry</property>
 			    </widget>
 			    <packing>
 			      <property name="left_attach">0</property>
@@ -2138,29 +2132,18 @@
 			    <widget class="GtkMenu" id="menu12">
 
 			      <child>
-				<widget class="GtkMenuItem" id="menuitem6">
-				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Search base only</property>
-				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_starting_point_only1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
-				</widget>
-			      </child>
-
-			      <child>
 				<widget class="GtkMenuItem" id="menuitem7">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Only locations within starting point</property>
+				  <property name="label" translatable="yes">One</property>
 				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_only_locations_contained_within_the_starting_point1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
 				</widget>
 			      </child>
 
 			      <child>
 				<widget class="GtkMenuItem" id="menuitem8">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">Starting point and locations within it</property>
+				  <property name="label" translatable="yes">Sub</property>
 				  <property name="use_underline">True</property>
-				  <signal name="activate" handler="on_starting_point_and_locations_within_it1_activate" last_modification_time="Tue, 30 Mar 2004 19:13:27 GMT"/>
 				</widget>
 			      </child>
 			    </widget>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]