From d03a5b84de992ea32e5c71e07c4064552a442954 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Fri, 21 Jan 2005 21:53:43 +0000 Subject: Fix some spacing and remove the separator for HIG compliance Set proper 2005-01-21 Rodney Dawes * gui/merging/eab-contact-duplicate-detected.glade: Fix some spacing and remove the separator for HIG compliance * gui/merging/eab-contact-merging.c (match_query_callback): Set proper border widths on some dialog containers for the HIG Fixes #41228 svn path=/trunk/; revision=28497 --- .../gui/merging/eab-contact-duplicate-detected.glade | 20 +++++++++++++++----- addressbook/gui/merging/eab-contact-merging.c | 6 ++++++ 2 files changed, 21 insertions(+), 5 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/merging/eab-contact-duplicate-detected.glade b/addressbook/gui/merging/eab-contact-duplicate-detected.glade index f1095f9db0..0aea834b5c 100644 --- a/addressbook/gui/merging/eab-contact-duplicate-detected.glade +++ b/addressbook/gui/merging/eab-contact-duplicate-detected.glade @@ -4,7 +4,6 @@ - 6 True Duplicate Contact Detected GTK_WINDOW_TOPLEVEL @@ -12,13 +11,18 @@ False True False - True + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + False True False - 6 + 0 @@ -33,6 +37,7 @@ gtk-cancel True GTK_RELIEF_NORMAL + True 1 @@ -45,6 +50,7 @@ gtk-add True GTK_RELIEF_NORMAL + True 0 @@ -59,13 +65,13 @@ - 6 + 12 True 5 2 False 6 - 6 + 12 @@ -177,6 +183,10 @@ in this folder. Would you like to add it anyway? 0 1 0 + 0 + 0 + 0 + 0 diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c index 685739ed89..a43c56043d 100644 --- a/addressbook/gui/merging/eab-contact-merging.c +++ b/addressbook/gui/merging/eab-contact-merging.c @@ -15,6 +15,8 @@ #include "eab-contact-compare.h" #include #include +#include +#include #include "addressbook/gui/widgets/eab-contact-display.h" typedef enum { @@ -175,6 +177,10 @@ match_query_callback (EContact *contact, EContact *match, EABContactMatchType ty widget = glade_xml_get_widget (ui, "dialog-duplicate-contact"); + gtk_widget_ensure_style (widget); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->action_area), 12); + g_signal_connect (widget, "response", G_CALLBACK (response), lookup); -- cgit v1.2.3