2007-06-14 [wwp] 2.9.2cvs58
authorTristan Chabredier <wwp@claws-mail.org>
Thu, 14 Jun 2007 09:18:37 +0000 (09:18 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Thu, 14 Jun 2007 09:18:37 +0000 (09:18 +0000)
* src/gtk/pluginwindow.c
Yet another attempt to fix sizing/alignment of the
button bar in plugins window.

ChangeLog
PATCHSETS
configure.ac
src/gtk/pluginwindow.c

index b912b4ea7dd28ecad8098ffd3c6ae9e225ed25f6..9135675e0545162571275b6e660cc5f7702d0ae3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-14 [wwp]       2.9.2cvs58
+
+       * src/gtk/pluginwindow.c
+               Yet another attempt to fix sizing/alignment of the
+               button bar in plugins window.
+
 2007-06-12 [colin]     2.9.2cvs57
 
        * po/POTFILES.in
index 08e55bc5a24b2ac8be42ca9e262bacdc5c732b69..ae469a309db0445bf173d23a4ed261c18e51a4f3 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.30.2.20 -r 1.30.2.21 tools/README;  ) > 2.9.2cvs55.patchset
 ( cvs diff -u -r 1.30.2.21 -r 1.30.2.22 tools/README;  ) > 2.9.2cvs56.patchset
 ( cvs diff -u -r 1.53.2.26 -r 1.53.2.27 po/POTFILES.in;  cvs diff -u -r 1.155.2.64 -r 1.155.2.65 src/Makefile.am;  cvs diff -u -r 1.207.2.163 -r 1.207.2.164 src/folderview.c;  cvs diff -u -r 1.204.2.136 -r 1.204.2.137 src/prefs_common.c;  cvs diff -u -r 1.103.2.83 -r 1.103.2.84 src/prefs_common.h;  cvs diff -u -r 1.1.2.41 -r 1.1.2.42 src/prefs_summaries.c;  diff -u /dev/null src/prefs_summary_open.c;  diff -u /dev/null src/prefs_summary_open.h;  cvs diff -u -r 1.395.2.303 -r 1.395.2.304 src/summaryview.c;  ) > 2.9.2cvs57.patchset
+( cvs diff -u -r 1.5.2.47 -r 1.5.2.48 src/gtk/pluginwindow.c;  ) > 2.9.2cvs58.patchset
index 0a91c4aab23b5cadf17171852ea531bbc283d838..fdbd1480ff8edbfe764779e2f0412fdfe078b18a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=57
+EXTRA_VERSION=58
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index d222c9855a17877fd9d4f0874171978cf48ff7d3..170ba450c88840c384788317fbd849a427191d60 100644 (file)
@@ -275,7 +275,7 @@ void pluginwindow_create()
        GtkWidget *label13;
        GtkWidget *scrolledwindow3;
        GtkWidget *plugin_desc;
-       GtkWidget *hbuttonbox1, *hbox3;
+       GtkWidget *hbuttonbox1;
        GtkWidget *help_btn;
        GtkWidget *load_btn;
        GtkWidget *unload_btn;
@@ -353,17 +353,13 @@ void pluginwindow_create()
        gtk_widget_show(get_more_btn);
        gtk_box_pack_start(GTK_BOX(vbox1), get_more_btn, FALSE, FALSE, 0);
 
-       hbox3 = gtk_hbox_new(TRUE, 0);
-       gtk_widget_show(hbox3);
-       gtk_box_pack_start(GTK_BOX(vbox1), hbox3, FALSE, FALSE, 0);
-
        gtkut_stock_button_set_create_with_help(&hbuttonbox1, &help_btn,
                        &load_btn, _("Load Plugin..."),
                        &unload_btn, _("Unload Plugin"),
                        &close_btn, GTK_STOCK_CLOSE);
        gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 6);
        gtk_widget_show(hbuttonbox1);
-       gtk_box_pack_end(GTK_BOX(hbox3), hbuttonbox1, FALSE, FALSE, 0);
+       gtk_box_pack_end(GTK_BOX(vbox1), hbuttonbox1, FALSE, FALSE, 0);
 
        gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(plugin_desc), GTK_WRAP_WORD);
        gtk_widget_set_sensitive(GTK_WIDGET(unload_btn), FALSE);
@@ -405,13 +401,13 @@ void pluginwindow_create()
        inc_lock();
 
        if (!geometry.min_height) {
-               geometry.min_width = 480;
+               geometry.min_width = -1;
                geometry.min_height = 300;
        }
 
        gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, &geometry,
                                      GDK_HINT_MIN_SIZE);
-       gtk_widget_set_size_request(window, prefs_common.pluginswin_width,
+       gtk_window_set_default_size(GTK_WINDOW(window), prefs_common.pluginswin_width,
                                    prefs_common.pluginswin_height);
 
        gtk_widget_show(window);