[gnome-disk-utility] Minor cleanups to the confirmation dialog
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Minor cleanups to the confirmation dialog
- Date: Thu, 6 Dec 2012 18:38:24 +0000 (UTC)
commit 5797b4ab8de75fae14d24821db196ae9eb16a990
Author: David Zeuthen <zeuthen gmail com>
Date: Thu Dec 6 13:37:41 2012 -0500
Minor cleanups to the confirmation dialog
Suggested by Allan Day in
https://bugzilla.gnome.org/show_bug.cgi?id=687295#c5
Signed-off-by: David Zeuthen <zeuthen gmail com>
src/libgdu/gduutils.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/libgdu/gduutils.c b/src/libgdu/gduutils.c
index 1ab01aa..294b165 100644
--- a/src/libgdu/gduutils.c
+++ b/src/libgdu/gduutils.c
@@ -706,11 +706,10 @@ gdu_utils_show_confirmation (GtkWindow *parent_window,
pango_attr_list_unref (attrs);
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window), GTK_SHADOW_OUT);
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), vbox);
gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (scrolled_window), 125);
- gtk_widget_set_margin_left (scrolled_window, 24);
gtk_box_pack_start (GTK_BOX (gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog))),
label,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]