[gedit/gnome-3-14] Remove border width from the close confirmation dialog
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-14] Remove border width from the close confirmation dialog
- Date: Thu, 22 Jan 2015 20:32:41 +0000 (UTC)
commit fa18ae95817bdbeb68a15a269ad111df5d58ab77
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Jan 22 11:55:48 2015 +0100
Remove border width from the close confirmation dialog
Same as GtkMessageDialog
gedit/gedit-close-confirmation-dialog.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-close-confirmation-dialog.c b/gedit/gedit-close-confirmation-dialog.c
index 63308fd..b7f8d8c 100644
--- a/gedit/gedit-close-confirmation-dialog.c
+++ b/gedit/gedit-close-confirmation-dialog.c
@@ -131,6 +131,7 @@ gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg)
{
GeditLockdownMask lockdown;
AtkObject *atk_obj;
+ GtkWidget *content_area;
GtkWidget *action_area;
dlg->priv = gedit_close_confirmation_dialog_get_instance_private (dlg);
@@ -139,8 +140,9 @@ gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg)
dlg->priv->disable_save_to_disk = lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK;
- 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]