0.9.10claws52
authorChristoph Hohmann <reboot@gmx.ch>
Mon, 26 Apr 2004 16:06:47 +0000 (16:06 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Mon, 26 Apr 2004 16:06:47 +0000 (16:06 +0000)
* src/gtk/about.c
* src/gtk/colorsel.c
* src/gtk/description_window.c
* src/gtk/filesel.c
* src/gtk/gtkaspell.c
* src/gtk/inputdialog.c
* src/gtk/pluginwindow.c
* src/gtk/progressdialog.c
        o remove gtk_window_set_position(..., GTK_WIN_POS_CENTER) because
          it does not work correctly with xinerama
        o lock incorporation while the plugin window is open

ChangeLog.claws
configure.ac
src/gtk/about.c
src/gtk/colorsel.c
src/gtk/description_window.c
src/gtk/filesel.c
src/gtk/gtkaspell.c
src/gtk/inputdialog.c
src/gtk/pluginwindow.c
src/gtk/progressdialog.c

index ae4bf30..a6c2b7e 100644 (file)
@@ -1,3 +1,17 @@
+2004-04-26 [christoph] 0.9.10claws52
+
+       * src/gtk/about.c
+       * src/gtk/colorsel.c
+       * src/gtk/description_window.c
+       * src/gtk/filesel.c
+       * src/gtk/gtkaspell.c
+       * src/gtk/inputdialog.c
+       * src/gtk/pluginwindow.c
+       * src/gtk/progressdialog.c
+               o remove gtk_window_set_position(..., GTK_WIN_POS_CENTER) because
+                 it does not work correctly with xinerama
+               o lock incorporation while the plugin window is open
+
 2004-04-23 [paul]      0.9.10claws51
 
        * po/POTFILES.in
index 9135beb..e46dec0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=51
+EXTRA_VERSION=52
 
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
index f668736..0d31f90 100644 (file)
@@ -89,7 +89,6 @@ static void about_create(void)
        gtk_window_set_title(GTK_WINDOW(window), _("About"));
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_widget_set_usize(window, 518, 358);
-       gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_signal_connect(GTK_OBJECT(window), "delete_event",
                           GTK_SIGNAL_FUNC(gtk_widget_hide_on_delete), NULL);
        gtk_signal_connect(GTK_OBJECT(window), "key_press_event",
index a0c6882..ba6aa60 100644 (file)
@@ -49,7 +49,6 @@ gint colorsel_select_color_rgb(gchar *title, gint rgbvalue)
        gint result;
 
        color_dialog = GTK_COLOR_SELECTION_DIALOG(gtk_color_selection_dialog_new(title));
-       gtk_window_set_position(GTK_WINDOW(color_dialog), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(color_dialog), TRUE);
        gtk_window_set_policy(GTK_WINDOW(color_dialog), FALSE, FALSE, FALSE);
        manage_window_set_transient(GTK_WINDOW(color_dialog));
index 0a5bdb0..78cee45 100644 (file)
@@ -64,7 +64,6 @@ static void description_create(DescriptionWindow * dwindow)
        gtk_window_set_title(GTK_WINDOW(dwindow->window),
                             gettext(dwindow->title));
        gtk_container_set_border_width(GTK_CONTAINER(dwindow->window), 8);
-       gtk_window_set_position(GTK_WINDOW(dwindow->window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(dwindow->window), TRUE);
        gtk_window_set_policy(GTK_WINDOW(dwindow->window), FALSE, TRUE, FALSE);
 
index 5e5083a..c830613 100644 (file)
@@ -194,7 +194,6 @@ GList *filesel_select_multiple_files(const gchar *title, const gchar *file)
 static void filesel_create(const gchar *title, gboolean multiple_files)
 {
        filesel = gtk_file_selection_new(title);
-       gtk_window_set_position(GTK_WINDOW(filesel), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(filesel), TRUE);
        gtk_window_set_wmclass
                (GTK_WINDOW(filesel), "file_selection", "Sylpheed");
index 8fa21c8..9f6e5a6 100644 (file)
@@ -2363,7 +2363,7 @@ static void gtkaspell_alert_dialog(gchar *message)
 
        dialog = gtk_dialog_new();
        gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
-       gtk_window_set_position(GTK_WINDOW(dialog),GTK_WIN_POS_MOUSE);
+       gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_MOUSE);
        gtk_signal_connect_object(GTK_OBJECT(dialog), "destroy",
                                   GTK_SIGNAL_FUNC(gtk_widget_destroy), 
                                   GTK_OBJECT(dialog));
index ed7e4b0..3111c70 100644 (file)
@@ -169,7 +169,6 @@ static void input_dialog_create(void)
        gtk_widget_set_usize(dialog, INPUT_DIALOG_WIDTH, -1);
        gtk_container_set_border_width
                (GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 5);
-       gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
        gtk_signal_connect(GTK_OBJECT(dialog), "delete_event",
                           GTK_SIGNAL_FUNC(delete_event), NULL);
        gtk_signal_connect(GTK_OBJECT(dialog), "key_press_event",
index 8561870..12b2d52 100644 (file)
@@ -46,6 +46,7 @@ static void close_cb(GtkButton *button, PluginWindow *pluginwindow)
        gtk_widget_destroy(pluginwindow->window);
        g_free(pluginwindow);
        plugin_save_list();
+       inc_unlock();
 }
 
 static void set_plugin_list(PluginWindow *pluginwindow)
@@ -144,12 +145,10 @@ void pluginwindow_create()
        GtkWidget *unload_btn;
        GtkWidget *close_btn;
 
-       window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+       window = gtk_window_new(GTK_WINDOW_DIALOG);
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_set_default_size(GTK_WINDOW(window), 480, 300);
        gtk_window_set_title(GTK_WINDOW(window), _("Plugins"));
-       gtk_window_set_position(GTK_WINDOW(window),
-                               GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
 
        vbox1 = gtk_vbox_new(FALSE, 4);
@@ -251,5 +250,6 @@ void pluginwindow_create()
 
        set_plugin_list(pluginwindow);
 
+       inc_lock();
        gtk_widget_show(window);
 }
index 2ff64bc..0b9501e 100644 (file)
@@ -58,7 +58,6 @@ ProgressDialog *progress_dialog_create(void)
        window = gtk_window_new(GTK_WINDOW_DIALOG);
        gtk_widget_set_usize(window, 460, -1);
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
-       gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
        gtk_widget_realize(window);