[evolution-patches] A patch for calendar based on trunk



Hi Rodrigo,

This patch is aimed for trunk. We have found a access key conflict in calendar which can be reproduced as follows:
1.Invoke your evo
2.Create a new appointment
3.switch into reminder tab
4.Press Alt+a
Actual result:
The Alt+a is the access key of Action menu and Add button.So if you press Alt +a ,the Action menu always is selected. Enclosed is a patch to fix that. Would you like to spend a little time to review it?

Best regards
? calendar/gui/dialogs/alarm-page.gladep
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2126
diff -u -r1.2126 ChangeLog
--- calendar/ChangeLog	30 Jan 2004 19:07:17 -0000	1.2126
+++ calendar/ChangeLog	2 Feb 2004 08:49:26 -0000
@@ -1,3 +1,8 @@
+2004-02-02  Kidd Wang  <kidd wang sun com>
+
+	* gui/dialogs/alarm-page.glade: change the access key for adding a
+	reminder from Alt+a to Alt+d to avoid conflict with the menuitem.
+
 2004-01-30  JP Rosevear <jpr ximian com>
 
 	* remove dead files
Index: calendar/gui/dialogs/alarm-page.glade
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/alarm-page.glade,v
retrieving revision 1.14
diff -u -r1.14 alarm-page.glade
--- calendar/gui/dialogs/alarm-page.glade	12 Jan 2004 21:19:09 -0000	1.14
+++ calendar/gui/dialogs/alarm-page.glade	2 Feb 2004 08:49:27 -0000
@@ -425,9 +425,63 @@
 			  <property name="visible">True</property>
 			  <property name="can_default">True</property>
 			  <property name="can_focus">True</property>
-			  <property name="label">gtk-add</property>
-			  <property name="use_stock">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="hbox56">
+				  <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="label65">
+				      <property name="visible">True</property>
+				      <property name="label" translatable="yes">A_dd</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>
 		      </child>
 


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