From bb67e81cbf39ebb9d6cf0370fff86768d304b202 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Mon, 26 Jul 2004 17:50:48 +0000 Subject: Fix mnemonic for "Location" to not be duplicated with "OK" 2004-07-26 Rodney Dawes * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not be duplicated with "OK" * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label (meeting_page_construct): Fix padding of GtkScrolledWindow widget Set the mnemonic widget for the "Attendees" label * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct Fix the mnemonic for "Organizer" to not conflict Add mnemonic for "Attendees" * gui/dialogs/task-page.glade: Add mnemonic for "Description" svn path=/trunk/; revision=26737 --- calendar/ChangeLog | 15 ++ calendar/gui/dialogs/event-page.glade | 4 +- calendar/gui/dialogs/meeting-page.c | 16 +- calendar/gui/dialogs/meeting-page.glade | 362 +++++++++++++------------------- calendar/gui/dialogs/task-page.glade | 4 +- 5 files changed, 176 insertions(+), 225 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 062e1b25c4..c65e88d134 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,18 @@ +2004-07-26 Rodney Dawes + + * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not + be duplicated with "OK" + + * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label + (meeting_page_construct): Fix padding of GtkScrolledWindow widget + Set the mnemonic widget for the "Attendees" label + + * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct + Fix the mnemonic for "Organizer" to not conflict + Add mnemonic for "Attendees" + + * gui/dialogs/task-page.glade: Add mnemonic for "Description" + 2004-07-26 JP Rosevear * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set diff --git a/calendar/gui/dialogs/event-page.glade b/calendar/gui/dialogs/event-page.glade index c5d44b6c16..24bc132c00 100644 --- a/calendar/gui/dialogs/event-page.glade +++ b/calendar/gui/dialogs/event-page.glade @@ -129,7 +129,7 @@ True - L_ocation: + Locat_ion: True False GTK_JUSTIFY_CENTER @@ -296,7 +296,7 @@ 0.5 0 0 - source + source 0 diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index f39e373012..5ac0d587d9 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Evolution calendar - Main page of the task editor dialog * * Copyright (C) 2001 Ximian, Inc. @@ -78,7 +79,8 @@ struct _MeetingPagePrivate { GtkWidget *add; GtkWidget *remove; GtkWidget *invite; - + GtkWidget *att_label; + /* ListView stuff */ EMeetingStore *model; EMeetingListView *list_view; @@ -521,10 +523,14 @@ get_widgets (MeetingPage *mpage) priv->add = GW ("add-attendee"); priv->remove = GW ("remove-attendee"); priv->invite = GW ("invite"); - + + /* Attendees Label */ + priv->att_label = GW ("attendees-label"); + #undef GW return (priv->list_box + && priv->att_label && priv->invite && priv->add && priv->remove @@ -897,8 +903,12 @@ meeting_page_construct (MeetingPage *mpage, EMeetingStore *ems, gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_IN); gtk_widget_show (sw); gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (priv->list_view)); - gtk_box_pack_start (GTK_BOX (priv->list_box), sw, TRUE, TRUE, 6); + gtk_box_pack_start (GTK_BOX (priv->list_box), sw, TRUE, TRUE, 0); + /* Set the mnemonic widget for the Attendees label */ + gtk_label_set_mnemonic_widget (GTK_LABEL (priv->att_label), + priv->list_view); + /* Init the widget signals */ init_widgets (mpage); diff --git a/calendar/gui/dialogs/meeting-page.glade b/calendar/gui/dialogs/meeting-page.glade index a2709cb180..ed347b2432 100644 --- a/calendar/gui/dialogs/meeting-page.glade +++ b/calendar/gui/dialogs/meeting-page.glade @@ -24,154 +24,126 @@ 6 - - True - <b>Organizer</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - + True False - 0 - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 12 - 0 - - - 0 - False - False - - + 6 - + True False - 6 + 12 - + True - 1 - 2 - False - 6 - 6 + Or_ganizer: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + organizer-entry + + + 0 + False + False + + - - + + + True + True + False + False + True + False + + + True - _Organizer: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - entry2 + True + True + True + 0 + + True + * + False - - 0 - 1 - 0 - 1 - fill - - - - + + True - True - False - False - True - False + GTK_SELECTION_BROWSE - - - True - True - True - True - 0 - - True - * - False - - - - - + + True - GTK_SELECTION_BROWSE - + True - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 - - 1 - 2 - 0 - 1 - - + + 0 + True + True + + + + + 0 + True + True + + + + + + True + False + 12 + + + + True + Organizer: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + organizer-entry + 0 False @@ -180,80 +152,34 @@ - + True - 1 - 3 - False - 6 - 6 - - - - True - _Organizer: - True - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - 1 - 0 - 1 - - - - - - - - True - True - Change Or_ganizer - True - GTK_RELIEF_NORMAL - True - - - 2 - 3 - 0 - 1 - - - - + None + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + - - - True - None - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 0 - 1 - fill - - - + + + True + True + C_hange Organizer + True + GTK_RELIEF_NORMAL + True 0 @@ -277,10 +203,10 @@ - + True - <b>Attendees</b> - False + <b>Att_endees</b> + True True GTK_JUSTIFY_LEFT False @@ -301,28 +227,7 @@ True False - 0 - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 12 - 0 - - - 0 - False - False - - + 12 @@ -432,6 +337,27 @@ + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + diff --git a/calendar/gui/dialogs/task-page.glade b/calendar/gui/dialogs/task-page.glade index b914881118..e3248afd4b 100644 --- a/calendar/gui/dialogs/task-page.glade +++ b/calendar/gui/dialogs/task-page.glade @@ -327,8 +327,8 @@ True - Description: - False + D_escription: + True False GTK_JUSTIFY_CENTER False -- cgit v1.2.3