aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-03-27 06:55:12 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-07 19:26:14 +0800
commit28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848 (patch)
treec6db912579105d034a58e984231100632ddfa409
parent9a7b0ca48f415bb64e46ed4e3f16076e3efef228 (diff)
downloadgsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar.gz
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar.bz2
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar.lz
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar.xz
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.tar.zst
gsoc2013-evolution-28bf4aa38a9a1e7796caf6fa6ebc1f5a1c470848.zip
Get the new contact sizing right despite the scrolled regions.
Add Claire's calendar popup feedback wrt. express mode
-rw-r--r--addressbook/gui/contact-editor/contact-editor.ui2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c10
-rw-r--r--ui/evolution-calendars.ui16
-rw-r--r--ui/evolution-contacts.ui4
4 files changed, 30 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/contact-editor.ui b/addressbook/gui/contact-editor/contact-editor.ui
index adc7d466e4..8f64ddb07d 100644
--- a/addressbook/gui/contact-editor/contact-editor.ui
+++ b/addressbook/gui/contact-editor/contact-editor.ui
@@ -1325,7 +1325,7 @@
</object>
</child>
<child>
- <object class="GtkScrolledWindow" id="scrolledwindow2">
+ <object class="GtkScrolledWindow" id="scrolledwindow-size-leader">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index a1c14c2ab2..d540ecd96b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -2655,12 +2655,22 @@ sensitize_all (EContactEditor *editor)
static void
init_all (EContactEditor *editor)
{
+ GtkRequisition tab_req;
+
init_simple (editor);
init_email (editor);
init_phone (editor);
init_im (editor);
init_personal (editor);
init_address (editor);
+
+ /* with so many scrolled windows, we need to
+ do some manual sizing */
+ gtk_widget_size_request (
+ e_builder_get_widget (editor->builder, "vbox-size-leader"), &tab_req);
+ gtk_widget_set_size_request (
+ e_builder_get_widget (editor->builder, "scrolledwindow-size-leader"),
+ tab_req.width, tab_req.height);
}
static void
diff --git a/ui/evolution-calendars.ui b/ui/evolution-calendars.ui
index bf4910328d..f38fa2e7d3 100644
--- a/ui/evolution-calendars.ui
+++ b/ui/evolution-calendars.ui
@@ -5,8 +5,10 @@
<menuitem action='event-open'/>
</placeholder>
<placeholder name='print-actions'>
+#if !EXPRESS
<menuitem action='calendar-print-preview'/>
<menuitem action='calendar-print'/>
+#endif
</placeholder>
</menu>
<menu action='edit-menu'>
@@ -75,12 +77,15 @@
<menuitem action='event-new'/>
<menuitem action='event-all-day-new'/>
<menuitem action='event-meeting-new'/>
+#if !EXPRESS
<menuitem action='task-new'/>
<separator/>
<menuitem action='event-popup-print'/>
<separator/>
+#endif
<menuitem action='popup-paste-clipboard'/>
<separator/>
+#if !EXPRESS
<menu action='gal-view-menu'>
<menuitem action='calendar-view-day'/>
<menuitem action='calendar-view-workweek'/>
@@ -92,24 +97,31 @@
</menu>
<menuitem action='calendar-popup-go-today'/>
<menuitem action='calendar-popup-jump-to'/>
+#endif
</popup>
<popup name='calendar-event-popup'>
<menuitem action='event-popup-open'/>
<menuitem action='event-popup-save-as'/>
+#if !EXPRESS
<menuitem action='event-popup-print'/>
+#endif
<separator/>
<menuitem action='popup-cut-clipboard'/>
<menuitem action='popup-copy-clipboard'/>
<menuitem action='popup-paste-clipboard'/>
+#if !EXPRESS
<separator/>
<menuitem action='event-popup-copy'/>
<menuitem action='event-popup-move'/>
+#endif
<menuitem action='event-popup-delegate'/>
<menuitem action='event-popup-schedule'/>
<menuitem action='event-popup-schedule-appointment'/>
+#if !EXPRESS
<menuitem action='event-popup-forward'/>
<menuitem action='event-popup-reply'/>
<menuitem action='event-popup-reply-all'/>
+#endif
<separator/>
<menuitem action='event-popup-occurrence-movable'/>
<menuitem action='event-popup-delete'/>
@@ -124,7 +136,9 @@
<menuitem action='calendar-memopad-open'/>
<menuitem action='calendar-memopad-open-url'/>
<menuitem action='calendar-memopad-save-as'/>
+#if !EXPRESS
<menuitem action='calendar-memopad-print'/>
+#endif
<separator/>
<menuitem action='popup-cut-clipboard'/>
<menuitem action='popup-copy-clipboard'/>
@@ -140,7 +154,9 @@
<menuitem action='calendar-taskpad-open'/>
<menuitem action='calendar-taskpad-open-url'/>
<menuitem action='calendar-taskpad-save-as'/>
+#if !EXPRESS
<menuitem action='calendar-taskpad-print'/>
+#endif
<separator/>
<menuitem action='popup-cut-clipboard'/>
<menuitem action='popup-copy-clipboard'/>
diff --git a/ui/evolution-contacts.ui b/ui/evolution-contacts.ui
index aeb6c7998c..77061bb010 100644
--- a/ui/evolution-contacts.ui
+++ b/ui/evolution-contacts.ui
@@ -7,8 +7,10 @@
<menuitem action='address-book-save-as'/>
</placeholder>
<placeholder name='print-actions'>
+#if !EXPRESS
<menuitem action='address-book-print-preview'/>
<menuitem action='address-book-print'/>
+#endif
</placeholder>
</menu>
<menu action='edit-menu'>
@@ -49,8 +51,8 @@
#if !EXPRESS
<toolitem action='send-receive'/>
<separator/>
-#endif
<toolitem action='address-book-print'/>
+#endif
<toolitem action='delete-selection'/>
<toolitem action='address-book-stop'/>
</toolbar>