[easytag/wip/application-window: 5/19] Set default size on image properties dialogue
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/application-window: 5/19] Set default size on image properties dialogue
- Date: Thu, 10 Apr 2014 20:40:57 +0000 (UTC)
commit dae0a35755b421485e48ec2e5aad4c7fbb9331e5
Author: David King <amigadave amigadave com>
Date: Thu Apr 10 21:36:16 2014 +0100
Set default size on image properties dialogue
This gives a better result than setting a size request on the image
types tree view.
src/picture.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index 0a53dc1..6eb5997 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -658,6 +658,8 @@ void Picture_Properties_Button_Clicked (GObject *object)
NULL);
g_free(title);
+ gtk_window_set_default_size (GTK_WINDOW (PictureTypesWindow), 400,
+ 400);
gtk_dialog_set_default_response(GTK_DIALOG(PictureTypesWindow), GTK_RESPONSE_OK);
ScrollWindowPictureTypes = gtk_scrolled_window_new(NULL, NULL);
@@ -677,7 +679,6 @@ void Picture_Properties_Button_Clicked (GObject *object)
"text", PICTURE_TYPE_COLUMN_TEXT,
NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(type), column);
- gtk_widget_set_size_request(type, 256, 256);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(PictureTypesWindow))),ScrollWindowPictureTypes,TRUE,TRUE,0);
// Behaviour following the tag type...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]