diff options
author | Rodney Dawes <dobey@novell.com> | 2004-07-27 01:50:48 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-07-27 01:50:48 +0800 |
commit | bb67e81cbf39ebb9d6cf0370fff86768d304b202 (patch) | |
tree | dde869dd28d8668b994916e6c13de8457e4eb922 /calendar/gui/dialogs/meeting-page.c | |
parent | bd4d726fa83b9742b40b203fe46698d0630d2385 (diff) | |
download | gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar.gz gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar.bz2 gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar.lz gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar.xz gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.tar.zst gsoc2013-evolution-bb67e81cbf39ebb9d6cf0370fff86768d304b202.zip |
Fix mnemonic for "Location" to not be duplicated with "OK"
2004-07-26 Rodney Dawes <dobey@novell.com>
* 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
Diffstat (limited to 'calendar/gui/dialogs/meeting-page.c')
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 16 |
1 files changed, 13 insertions, 3 deletions
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); |