[evolution] Bug 779687 - Category Properties dialogue has spacing problems



commit 7aeec700ecfe81e3388709321e909afb08ee4d4e
Author: Milan Crha <mcrha redhat com>
Date:   Wed Mar 8 11:26:47 2017 +0100

    Bug 779687 - Category Properties dialogue has spacing problems

 src/e-util/e-category-editor.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/e-util/e-category-editor.c b/src/e-util/e-category-editor.c
index 1097279..a49e4ed 100644
--- a/src/e-util/e-category-editor.c
+++ b/src/e-util/e-category-editor.c
@@ -131,6 +131,9 @@ e_category_editor_init (ECategoryEditor *editor)
 
        editor->priv = E_CATEGORY_EDITOR_GET_PRIVATE (editor);
 
+       gtk_window_set_resizable (GTK_WINDOW (editor), FALSE);
+       gtk_container_set_border_width (GTK_CONTAINER (editor), 6);
+
        chooser_dialog = gtk_file_chooser_dialog_new (
                _("Category Icon"),
                NULL, GTK_FILE_CHOOSER_ACTION_OPEN,
@@ -232,7 +235,7 @@ e_category_editor_init (ECategoryEditor *editor)
  * Since: 3.2
  **/
 ECategoryEditor *
-e_category_editor_new ()
+e_category_editor_new (void)
 {
        return g_object_new (E_TYPE_CATEGORY_EDITOR, NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]