aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2006-07-11 17:37:36 +0800
committerLi Yuan <liyuan@src.gnome.org>2006-07-11 17:37:36 +0800
commit70b8fdc505089c12833f5a05223b98323fdeeb5c (patch)
tree7c18ac39f70ff7bc623af694ec1f9672ebed570c /calendar/gui/dialogs
parent72e952b2d5f023f99c437a43adc65df874015f22 (diff)
downloadgsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar.gz
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar.bz2
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar.lz
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar.xz
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.tar.zst
gsoc2013-evolution-70b8fdc505089c12833f5a05223b98323fdeeb5c.zip
Add mnemonic widget to widget, and change calendar's shortcut key.
2006-07-11 Li Yuan <li.yuan@sun.com> * gui/dialogs/event-page.c: (sensitize_widgets): * gui/dialogs/event-page.glade: Add mnemonic widget to widget, and change calendar's shortcut key. Fix for #345510. 2006-07-11 Li Yuan <li.yuan@sun.com> * gui/e-week-view.c: (e_week_view_focus): Fix for 345923. If there is not any event in week view, just grab week view itself. svn path=/trunk/; revision=32278
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/event-page.c3
-rw-r--r--calendar/gui/dialogs/event-page.glade4
2 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 8e2d9cf859..19ff6a60a3 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -869,7 +869,8 @@ sensitize_widgets (EventPage *epage)
gtk_widget_hide (priv->list_box);
gtk_widget_hide (priv->attendee_box);
gtk_widget_hide (priv->organizer);
- gtk_label_set_text_with_mnemonic ((GtkLabel *) priv->org_cal_label, _("Cale_ndar:"));
+ gtk_label_set_text_with_mnemonic ((GtkLabel *) priv->org_cal_label, _("_Calendar:"));
+ gtk_label_set_mnemonic_widget ((GtkLabel *) priv->org_cal_label, priv->source_selector);
} else {
gtk_widget_show (priv->calendar_label);
gtk_widget_show (priv->list_box);
diff --git a/calendar/gui/dialogs/event-page.glade b/calendar/gui/dialogs/event-page.glade
index 860986ae14..95fffa2eb8 100644
--- a/calendar/gui/dialogs/event-page.glade
+++ b/calendar/gui/dialogs/event-page.glade
@@ -149,6 +149,7 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <property name="mnemonic_widget">organizer-entry</property>
</widget>
<packing>
<property name="left_attach">0</property>
@@ -177,6 +178,7 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <property name="mnemonic_widget">start-time</property>
</widget>
<packing>
<property name="left_attach">0</property>
@@ -746,7 +748,7 @@
<child>
<widget class="GtkLabel" id="calendar-label">
<property name="visible">True</property>
- <property name="label" translatable="yes">Cale_ndar:</property>
+ <property name="label" translatable="yes">_Calendar:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>