[gnome-builder] dialogs: remove border
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] dialogs: remove border
- Date: Thu, 22 Jan 2015 23:07:54 +0000 (UTC)
commit 953c976359701e9591c719d8e3bea36384ff3067
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Jan 23 00:02:07 2015 +0100
dialogs: remove border
Same as GtkMessageDialog
https://bugzilla.gnome.org/show_bug.cgi?id=743382
src/dialogs/gb-close-confirmation-dialog.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/gb-close-confirmation-dialog.c b/src/dialogs/gb-close-confirmation-dialog.c
index c89fd63..1165421 100644
--- a/src/dialogs/gb-close-confirmation-dialog.c
+++ b/src/dialogs/gb-close-confirmation-dialog.c
@@ -128,12 +128,14 @@ static void
gb_close_confirmation_dialog_init (GbCloseConfirmationDialog *dlg)
{
AtkObject *atk_obj;
+ GtkWidget *content_area;
GtkWidget *action_area;
dlg->priv = gb_close_confirmation_dialog_get_instance_private (dlg);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
- 14);
+ content_area = gtk_dialog_get_content_area (GTK_DIALOG (dlg));
+ gtk_container_set_border_width (GTK_CONTAINER (content_area), 0);
+ gtk_box_set_spacing (GTK_BOX (content_area), 14);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
gtk_window_set_title (GTK_WINDOW (dlg), "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]