diff options
author | Li Yuan <li.yuan@sun.com> | 2004-10-12 14:58:11 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-10-12 14:58:11 +0800 |
commit | c9e20b967bb7e1b679f10cb9d388c94a95c3bf06 (patch) | |
tree | 04ecf33cae558c39fba2627470110e7ed945e08b /calendar/gui/dialogs | |
parent | a7ba5c21d168b35e2a950d82b90c141dd16ca3ba (diff) | |
download | gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar.gz gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar.bz2 gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar.lz gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar.xz gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.tar.zst gsoc2013-evolution-c9e20b967bb7e1b679f10cb9d388c94a95c3bf06.zip |
When the start year and the end year are the same, the num should be
2004-10-12 Li Yuan <li.yuan@sun.com>
* gui/calendar-commands.c:
(calendar_get_text_for_folder_bar_label):
When the start year and the end year are the same, the num should
be displayed in start time.
* gui/dialogs/alarm-dialog.glade:
Add names to comboxes in alarm-dialog page.
* gui/dialogs/cal-prefs-dialog.glade:
Add labbled_by relation for e_date_edit.
Add names to comboxes in general tab and display tab.
Add shortcut keys to start_of_day_label and end_of_day_label.
* gui/dialogs/event-page.c: (init_widgets):
Use the default text_buffer of gtk_text_view instead of
creating one.
* gui/dialogs/event-page.glade:
Add labbled_by relation for e_date_edit.
* gui/dialogs/meeting-page.glade:
Set an atk name for organizer widget.
* gui/dialogs/task-page.c: (init_widgets):
Use the default text_buffer of gtk_text_view instead of
creating one.
* gui/dialogs/task-page.glade:
Add labbled_by relation for e_date_edit.
Add a11y names to task description and categories.
* gui/e-alarm-list.c: (e_alarm_list_iter_n_children):
Remove the iter checker. The iter can't have a valid value at this time.
* gui/e-date-time-list.c: (e_date_time_list_iter_n_children):
Remove the iter checker. The iter can't have a valid value at this time.
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
Add labbled_by relation for e_date_edit.
* gui/e-timezone-entry.c: (e_timezone_entry_class_init),
(e_timezone_entry_init), (e_timezone_entry_mnemonic_activate),
(e_timezone_entry_focus):
Add a focus handler for e-timezone-entry. Set an atk name for the
button.
* gui/e-week-view.c: (e_week_view_do_cursor_key_up),
(e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left),
(e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up),
(e_month_view_do_cursor_key_down),
(e_month_view_do_cursor_key_left),
(e_month_view_do_cursor_key_right):
Emit the selected_time_changed signal after the selection day changed.
svn path=/trunk/; revision=27550
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/alarm-dialog.glade | 28 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.glade | 18 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.glade | 13 | ||||
-rw-r--r-- | calendar/gui/dialogs/meeting-page.glade | 3 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.glade | 16 |
7 files changed, 74 insertions, 12 deletions
diff --git a/calendar/gui/dialogs/alarm-dialog.glade b/calendar/gui/dialogs/alarm-dialog.glade index 28898692ea..45617ea52f 100644 --- a/calendar/gui/dialogs/alarm-dialog.glade +++ b/calendar/gui/dialogs/alarm-dialog.glade @@ -13,6 +13,11 @@ <property name="modal">True</property> <property name="resizable">True</property> <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="has_separator">True</property> <child internal-child="vbox"> @@ -34,6 +39,7 @@ <property name="label">gtk-cancel</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="response_id">-6</property> </widget> </child> @@ -46,6 +52,7 @@ <property name="label">gtk-ok</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="response_id">-5</property> </widget> </child> @@ -117,6 +124,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose alarm action</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget1"> @@ -187,6 +197,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose alarm value units</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget5"> @@ -230,6 +243,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose alarm relative</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget9"> @@ -265,6 +281,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose alarm time</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget12"> @@ -371,6 +390,7 @@ <property name="label" translatable="yes">_Repeat the alarm</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="active">False</property> <property name="inconsistent">False</property> <property name="draw_indicator">True</property> @@ -581,6 +601,7 @@ <property name="label" translatable="yes">Custom _message</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="active">False</property> <property name="inconsistent">False</property> <property name="draw_indicator">True</property> @@ -614,6 +635,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> + <property name="overwrite">False</property> + <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> <property name="wrap_mode">GTK_WRAP_WORD</property> <property name="cursor_visible">True</property> @@ -706,6 +729,7 @@ <property name="label" translatable="yes">Custom alarm sound</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="active">False</property> <property name="inconsistent">False</property> <property name="draw_indicator">True</property> @@ -970,6 +994,7 @@ <property name="label" translatable="yes">Send To:</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> </widget> <packing> <property name="padding">0</property> @@ -1002,6 +1027,7 @@ <property name="label" translatable="yes">Custom _message</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="active">False</property> <property name="inconsistent">False</property> <property name="draw_indicator">True</property> @@ -1035,6 +1061,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> + <property name="overwrite">False</property> + <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> <property name="wrap_mode">GTK_WRAP_WORD</property> <property name="cursor_visible">True</property> diff --git a/calendar/gui/dialogs/cal-prefs-dialog.glade b/calendar/gui/dialogs/cal-prefs-dialog.glade index 02de705b30..f2c48c19a2 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.glade +++ b/calendar/gui/dialogs/cal-prefs-dialog.glade @@ -648,7 +648,7 @@ </child> <child> - <widget class="GtkLabel" id="label34"> + <widget class="GtkLabel" id="end_of_day_label"> <property name="visible">True</property> <property name="label" translatable="yes">Day _ends:</property> <property name="use_underline">True</property> @@ -660,6 +660,7 @@ <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> + <property name="mnemonic_widget">end_of_day</property> </widget> <packing> <property name="left_attach">0</property> @@ -672,7 +673,7 @@ </child> <child> - <widget class="GtkLabel" id="label33"> + <widget class="GtkLabel" id="start_of_day_label"> <property name="visible">True</property> <property name="label" translatable="yes">_Day begins:</property> <property name="use_underline">True</property> @@ -684,6 +685,7 @@ <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> + <property name="mnemonic_widget">start_of_day</property> </widget> <packing> <property name="left_attach">0</property> @@ -702,6 +704,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Thu, 30 May 2002 19:26:53 GMT</property> + <accessibility> + <atkrelation target="start_of_day_label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="left_attach">1</property> @@ -720,6 +725,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Thu, 30 May 2002 19:27:35 GMT</property> + <accessibility> + <atkrelation target="end_of_day_label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="left_attach">1</property> @@ -881,6 +889,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose reminder units</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget9"> @@ -1421,6 +1432,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="history">0</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">option menu to choose time units</atkproperty> + </accessibility> <child internal-child="menu"> <widget class="GtkMenu" id="convertwidget19"> diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 0b6fa70727..d5a73c92a1 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -1763,9 +1763,7 @@ init_widgets (EventPage *epage) G_CALLBACK (summary_changed_cb), epage); /* Description */ - text_buffer = gtk_text_buffer_new (NULL); - gtk_text_view_set_buffer (GTK_TEXT_VIEW (priv->description), text_buffer); - g_object_unref (text_buffer); + text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->description)); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (priv->description), GTK_WRAP_WORD); diff --git a/calendar/gui/dialogs/event-page.glade b/calendar/gui/dialogs/event-page.glade index eef0ef201f..d6744f837a 100644 --- a/calendar/gui/dialogs/event-page.glade +++ b/calendar/gui/dialogs/event-page.glade @@ -197,6 +197,9 @@ <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">Event Description</atkproperty> + </accessibility> </widget> </child> </widget> @@ -475,6 +478,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Tue, 16 May 2000 19:11:05 GMT</property> + <accessibility> + <atkrelation target="start-time-label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="left_attach">1</property> @@ -493,6 +499,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Tue, 16 May 2000 19:11:10 GMT</property> + <accessibility> + <atkrelation target="end-time-label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="left_attach">1</property> @@ -522,7 +531,7 @@ </child> <child> - <widget class="GtkLabel" id="label57"> + <widget class="GtkLabel" id="start-time-label"> <property name="visible">True</property> <property name="label" translatable="yes">_Start time:</property> <property name="use_underline">True</property> @@ -547,7 +556,7 @@ </child> <child> - <widget class="GtkLabel" id="label58"> + <widget class="GtkLabel" id="end-time-label"> <property name="visible">True</property> <property name="label" translatable="yes">_End time:</property> <property name="use_underline">True</property> diff --git a/calendar/gui/dialogs/meeting-page.glade b/calendar/gui/dialogs/meeting-page.glade index ed347b2432..51f7399b5f 100644 --- a/calendar/gui/dialogs/meeting-page.glade +++ b/calendar/gui/dialogs/meeting-page.glade @@ -65,6 +65,9 @@ <property name="case_sensitive">False</property> <property name="enable_arrow_keys">True</property> <property name="enable_arrows_always">False</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">Organizer</atkproperty> + </accessibility> <child internal-child="entry"> <widget class="GtkEntry" id="organizer-entry"> diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index f3bdf10519..2779c0f2a2 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -865,9 +865,7 @@ init_widgets (TaskPage *tpage) G_CALLBACK (summary_changed_cb), tpage); /* Description */ - text_buffer = gtk_text_buffer_new (NULL); - gtk_text_view_set_buffer (GTK_TEXT_VIEW (priv->description), text_buffer); - g_object_unref (text_buffer); + text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->description)); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (priv->description), GTK_WRAP_WORD); diff --git a/calendar/gui/dialogs/task-page.glade b/calendar/gui/dialogs/task-page.glade index 1b688fe1ab..c66ceb1932 100644 --- a/calendar/gui/dialogs/task-page.glade +++ b/calendar/gui/dialogs/task-page.glade @@ -276,6 +276,9 @@ <property name="has_frame">True</property> <property name="invisible_char" translatable="yes">*</property> <property name="activates_default">False</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">Categories</atkproperty> + </accessibility> </widget> <packing> <property name="left_attach">1</property> @@ -311,6 +314,9 @@ <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">Task Description</atkproperty> + </accessibility> </widget> </child> </widget> @@ -421,7 +427,7 @@ <property name="column_spacing">12</property> <child> - <widget class="GtkLabel" id="label29"> + <widget class="GtkLabel" id="due-date-label"> <property name="visible">True</property> <property name="label" translatable="yes">_Due date:</property> <property name="use_underline">True</property> @@ -446,7 +452,7 @@ </child> <child> - <widget class="GtkLabel" id="label30"> + <widget class="GtkLabel" id="start-date-label"> <property name="visible">True</property> <property name="label" translatable="yes">Sta_rt date:</property> <property name="use_underline">True</property> @@ -498,6 +504,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Tue, 19 Jun 2001 04:43:54 GMT</property> + <accessibility> + <atkrelation target="due-date-label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="padding">0</property> @@ -544,6 +553,9 @@ <property name="int1">0</property> <property name="int2">0</property> <property name="last_modification_time">Tue, 19 Jun 2001 04:43:46 GMT</property> + <accessibility> + <atkrelation target="start-date-label" type="labelled-by"/> + </accessibility> </widget> <packing> <property name="padding">0</property> |