[gnumeric] Quit dialog: fix sizing.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Quit dialog: fix sizing.
- Date: Fri, 16 Sep 2011 17:13:01 +0000 (UTC)
commit 0f529bf272775d3d37af3c830e22e7d420a11428
Author: Morten Welinder <terra gnome org>
Date: Fri Sep 16 13:12:44 2011 -0400
Quit dialog: fix sizing.
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-quit.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 80767be..3581ffb 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-16 Morten Welinder <terra gnome org>
+
+ * dialog-quit.c (show_quit_dialog): Set size of scrolled window,
+ not treeview.
+
2011-09-14 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-stf.ui: enable focus of combo box and its entry
diff --git a/src/dialogs/dialog-quit.c b/src/dialogs/dialog-quit.c
index e94f441..a3da8f4 100644
--- a/src/dialogs/dialog-quit.c
+++ b/src/dialogs/dialog-quit.c
@@ -349,7 +349,7 @@ show_quit_dialog (GList *dirty, WBCGtk *wbcg)
NULL);
pango_layout_get_pixel_size (layout, &width, &height);
- gtk_widget_set_size_request (GTK_WIDGET (tree),
+ gtk_widget_set_size_request (GTK_WIDGET (scrollw),
width * 60 / 4,
(2 * height + vsep) * (4 + 1));
g_object_unref (layout);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]