aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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 /addressbook/gui
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
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/contact-editor.ui2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c10
2 files changed, 11 insertions, 1 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