remove gtk_window_set_wmclass()
authorPaul Mangan <paul@claws-mail.org>
Wed, 28 Jul 2004 12:30:15 +0000 (12:30 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 28 Jul 2004 12:30:15 +0000 (12:30 +0000)
replace gtk_window-position

17 files changed:
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/addressbook.c
src/compose.c
src/foldersel.c
src/gtk/logwindow.c
src/gtk/prefswindow.c
src/mainwindow.c
src/messageview.c
src/prefs_filtering.c
src/prefs_filtering_action.c
src/prefs_fonts.c
src/prefs_gtk.c
src/prefs_matcher.c
src/sourcewindow.c
src/ssl_manager.c

index 64977591da73c43b98b0b98e41290df844bb18f4..f8c5b7f3529db98dcd31228add8bdb52ae062311 100644 (file)
@@ -1,3 +1,23 @@
+2004-07-28 [paul]      0.9.12cvs37.4
+
+       * src/addressbook.c
+       * src/compose.c
+       * src/foldersel.c
+       * src/mainwindow.c
+       * src/messageview.c
+       * src/sourcewindow.c
+       * src/gtk/logwindow.c
+               remove gtk_window_set_wmclass()
+               
+       * src/prefs_filtering.c
+       * src/prefs_filtering_action.c
+       * src/prefs_fonts.c
+       * src/prefs_gtk.c
+       * src/prefs_matcher.c
+       * src/ssl_manager.c
+       * src/gtk/prefswindow.c
+               replace gtk_window_position()
+
 2004-07-28 [colin]     0.9.12cvs37.3
 
        * src/alertpanel.c
index fc8e2302845dbee56f34c42662a713143012a725..9d2d23393d5e511c994e636a233c916326babf46 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
@@ -86,3 +86,4 @@
 ( cvs diff -u -r 1.16.2.7 -r 1.16.2.8 src/msgcache.c; ) > 0.9.12cvs37.1.patchset
 ( cvs diff -u -r 1.27.2.6 -r 1.27.2.7 src/addr_compl.c; cvs diff -u -r 1.60.2.5 -r 1.60.2.6 src/addressbook.c; cvs diff -u -r 1.17.2.5 -r 1.17.2.6 src/alertpanel.c; cvs diff -u -r 1.382.2.35 -r 1.382.2.36 src/compose.c; cvs diff -u -r 1.8.2.2 -r 1.8.2.3 src/export.c; cvs diff -u -r 1.26.2.2 -r 1.26.2.3 src/foldersel.c; cvs diff -u -r 1.207.2.10 -r 1.207.2.11 src/folderview.c; cvs diff -u -r 1.14.2.4 -r 1.14.2.5 src/grouplistdialog.c; cvs diff -u -r 1.13.2.3 -r 1.13.2.4 src/import.c; cvs diff -u -r 1.274.2.13 -r 1.274.2.14 src/mainwindow.c; cvs diff -u -r 1.3.12.3 -r 1.3.12.4 src/message_search.c; cvs diff -u -r 1.94.2.23 -r 1.94.2.24 src/messageview.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/passphrase.c; cvs diff -u -r 1.60.2.4 -r 1.60.2.5 src/prefs_actions.c; cvs diff -u -r 1.204.2.17 -r 1.204.2.18 src/prefs_common.c; cvs diff -u -r 1.16.2.2 -r 1.16.2.3 src/prefs_customheader.c; cvs diff -u -r 1.16.2.3 -r 1.16.2.4 src/prefs_display_header.c; cvs diff -u -r 1.59.2.6 -r 1.59.2.7 src/prefs_filtering.c; cvs diff -u -r 1.1.4.5 -r 1.1.4.6 src/prefs_filtering_action.c; cvs diff -u -r 1.10.2.4 -r 1.10.2.5 src/prefs_gtk.c; cvs diff -u -r 1.43.2.6 -r 1.43.2.7 src/prefs_matcher.c; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/prefs_msg_colors.c; cvs diff -u -r 1.10.2.1 -r 1.10.2.2 src/prefs_summary_column.c; cvs diff -u -r 1.12.2.2 -r 1.12.2.3 src/prefs_template.c; cvs diff -u -r 1.9.2.4 -r 1.9.2.5 src/sourcewindow.c; cvs diff -u -r 1.3.2.2 -r 1.3.2.3 src/ssl_manager.c; cvs diff -u -r 1.15.2.5 -r 1.15.2.6 src/summary_search.c; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/gtk/colorsel.c; cvs diff -u -r 1.5.2.4 -r 1.5.2.5 src/gtk/description_window.c; cvs diff -u -r 1.9.2.7 -r 1.9.2.8 src/gtk/gtkaspell.c; cvs diff -u -r 1.2.2.1 -r 1.2.2.2 src/gtk/inputdialog.c; cvs diff -u -r 1.1.4.2 -r 1.1.4.3 src/gtk/logwindow.c; cvs diff -u -r 1.12.2.2 -r 1.12.2.3 src/gtk/prefswindow.c; cvs diff -u -r 1.1.4.2 -r 1.1.4.3 src/gtk/progressdialog.c; ) > 0.9.12cvs37.2.patchset
 ( cvs diff -u -r 1.61.2.7 -r 1.61.2.8 src/account.c; cvs diff -u -r 1.60.2.6 -r 1.60.2.7 src/addressbook.c; cvs diff -u -r 1.17.2.6 -r 1.17.2.7 src/alertpanel.c; cvs diff -u -r 1.5.2.1 -r 1.5.2.2 src/alertpanel.h; cvs diff -u -r 1.382.2.36 -r 1.382.2.37 src/compose.c; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/expldifdlg.c; cvs diff -u -r 1.115.2.10 -r 1.115.2.11 src/main.c; cvs diff -u -r 1.94.2.24 -r 1.94.2.25 src/messageview.c; cvs diff -u -r 1.395.2.25 -r 1.395.2.26 src/summaryview.c; cvs diff -u -r 1.96.2.14 -r 1.96.2.15 src/textview.c; cvs diff -u -r 1.9.2.1 -r 1.9.2.2 src/gtk/sslcertwindow.c; ) > 0.9.12cvs37.3.patchset
+( cvs diff -u -r 1.60.2.7 -r 1.60.2.8 src/addressbook.c; cvs diff -u -r 1.382.2.37 -r 1.382.2.38 src/compose.c; cvs diff -u -r 1.26.2.3 -r 1.26.2.4 src/foldersel.c; cvs diff -u -r 1.274.2.14 -r 1.274.2.15 src/mainwindow.c; cvs diff -u -r 1.94.2.25 -r 1.94.2.26 src/messageview.c; cvs diff -u -r 1.59.2.7 -r 1.59.2.8 src/prefs_filtering.c; cvs diff -u -r 1.1.4.6 -r 1.1.4.7 src/prefs_filtering_action.c; cvs diff -u -r 1.4.2.4 -r 1.4.2.5 src/prefs_fonts.c; cvs diff -u -r 1.10.2.5 -r 1.10.2.6 src/prefs_gtk.c; cvs diff -u -r 1.43.2.7 -r 1.43.2.8 src/prefs_matcher.c; cvs diff -u -r 1.9.2.5 -r 1.9.2.6 src/sourcewindow.c; cvs diff -u -r 1.3.2.3 -r 1.3.2.4 src/ssl_manager.c; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/gtk/logwindow.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/gtk/prefswindow.c; ) > 0.9.12cvs37.4.patchset
index 0a0e217a6e4f7424f864b75d79f49787254849a0..ec0fa7ce9f91af14fed4769ac7816b5008774536 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=37
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.3
+EXTRA_GTK2_VERSION=.4
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 1f05f930df9510e26e6813a35eb810d5d84f05af..5ce8fca5441fe3befbd884132cf7b6282cfc309a 100644 (file)
@@ -648,7 +648,6 @@ static void addressbook_create(void)
        gtk_window_set_title(GTK_WINDOW(window), _("Address book"));
        gtk_widget_set_size_request(window, ADDRESSBOOK_WIDTH, ADDRESSBOOK_HEIGHT);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-       gtk_window_set_wmclass(GTK_WINDOW(window), "addressbook", "Sylpheed");
        gtk_widget_realize(window);
 
        g_signal_connect(G_OBJECT(window), "delete_event",
index fa88f0890a637e78fdf141a5e424fe0c47c07bc4..3f9d36bb87f5a879aa691d0c0debb56c8e8a0d59 100644 (file)
@@ -5134,7 +5134,6 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, -1, prefs_common.compose_height);
-       gtk_window_set_wmclass(GTK_WINDOW(window), "compose window", "Sylpheed");
 
        if (!geometry.max_width) {
                geometry.max_width = gdk_screen_width();
index ecc06825e26070fa28dab7a06f735d5fba05a031..70ecb77d34549f3ba7656ed6bcbf0da060e3d799 100644 (file)
@@ -155,8 +155,6 @@ static void foldersel_create(void)
        gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-       gtk_window_set_wmclass
-               (GTK_WINDOW(window), "folder_selection", "Sylpheed");
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(delete_event), NULL);
        g_signal_connect(G_OBJECT(window), "key_press_event",
index 277f810d02d165fbd4bc447e065b4009dc35416e..a4f7fc0d70e1004ffd6d22d7b9b7aa26d7e4f444 100644 (file)
@@ -61,7 +61,6 @@ LogWindow *log_window_create(void)
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Protocol log"));
-       gtk_window_set_wmclass(GTK_WINDOW(window), "log_window", "Sylpheed");
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, 520, 400);
        g_signal_connect(G_OBJECT(window), "delete_event",
index 885b317d17d7c0b8b960b0db3efb7c1aea93d452..6da71e2556691d4a8e6c593aa547d809aed37b2e 100644 (file)
@@ -221,7 +221,7 @@ void prefswindow_open(const gchar *title, GSList *prefs_pages, gpointer data)
        prefswindow->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(prefswindow->window), title);
        gtk_window_set_default_size(GTK_WINDOW(prefswindow->window), 600, 340);
-       gtk_window_position (GTK_WINDOW(prefswindow->window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position (GTK_WINDOW(prefswindow->window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (prefswindow->window), TRUE);
        gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE);
        gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4);
index 708bdbea40969dd47401d5343aae7aaa4714b55a..12ae40a2d7fa0ba691ff43c4cb7f71ee6d9a08b2 100644 (file)
@@ -811,7 +811,6 @@ MainWindow *main_window_create(SeparateType type)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-       gtk_window_set_wmclass(GTK_WINDOW(window), "main_window", "Sylpheed");
 
        if (!geometry.min_height) {
                geometry.min_width = 320;
@@ -1958,8 +1957,6 @@ static void main_window_set_widgets(MainWindow *mainwin, SeparateType type)
                folderwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
                gtk_window_set_title(GTK_WINDOW(folderwin),
                                     _("Sylpheed - Folder View"));
-               gtk_window_set_wmclass(GTK_WINDOW(folderwin),
-                                      "folder_view", "Sylpheed");
                gtk_window_set_resizable(GTK_WINDOW(folderwin), TRUE);
                gtk_window_move(GTK_WINDOW(folderwin), prefs_common.folderwin_x,
                                prefs_common.folderwin_y);
@@ -1978,8 +1975,6 @@ static void main_window_set_widgets(MainWindow *mainwin, SeparateType type)
                messagewin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
                gtk_window_set_title(GTK_WINDOW(messagewin),
                                     _("Sylpheed - Message View"));
-               gtk_window_set_wmclass(GTK_WINDOW(messagewin),
-                                      "message_view", "Sylpheed");
                gtk_window_set_resizable(GTK_WINDOW(messagewin), TRUE);
                gtk_window_move(GTK_WINDOW(messagewin), 
                                prefs_common.main_msgwin_x,
index 7fc7114be9ffc4b5d151de902d50d90f94b72504..4ae9bd7316fecccb0fd4203fde0a1a8b68bcfcc1 100644 (file)
@@ -411,7 +411,6 @@ MessageView *messageview_create_with_new_window(MainWindow *mainwin)
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Sylpheed - Message View"));
-       gtk_window_set_wmclass(GTK_WINDOW(window), "message_view", "Sylpheed");
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, prefs_common.msgwin_width,
                                    prefs_common.msgwin_height);
index 159a0a3fdd341e9f5c6f02069118f3455fc5a704..d28a354eea3c10c86ff3a130a592e28cd3bc6a0a 100644 (file)
@@ -188,7 +188,7 @@ static void prefs_filtering_create(void)
 
        window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
-       gtk_window_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
        gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
 
index b8e784457f2176d808c236f45dcab199b37b1d1a..54e2c64aef7ef56e96caf6dbf9def78dc0d4abe1 100644 (file)
@@ -267,7 +267,7 @@ static void prefs_filtering_action_create(void)
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
-       gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
index 7947f2a3a52e2df0a3dbeb6db9ef81dda0e71ec2..63e55e2ae9db8edb6b1ac0b9cb9986895baab9ad 100644 (file)
@@ -71,7 +71,7 @@ static void prefs_font_select(GtkButton *button, GtkEntry *entry)
        if (!font_sel_win) {
                font_sel_win = gtk_font_selection_dialog_new
                        (_("Font selection"));
-               gtk_window_position(GTK_WINDOW(font_sel_win),
+               gtk_window_set_position(GTK_WINDOW(font_sel_win),
                                    GTK_WIN_POS_CENTER);
                g_signal_connect(G_OBJECT(font_sel_win), "delete_event",
                                 G_CALLBACK(gtk_widget_hide_on_delete),
index db55d1f1326585f58f02e8d289305c1f62f5c905..98bc2cbb53b26112bc62b50a3d5add88a3c560b3 100644 (file)
@@ -468,7 +468,7 @@ void prefs_dialog_create(PrefsDialog *dialog)
 
        window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
-       gtk_window_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
index ef20092413dfcafca57d35148acf14aa450df95c..3d981392e33f07ecf414fb2bf37053ee7fb04e04 100644 (file)
@@ -361,7 +361,7 @@ static void prefs_matcher_create(void)
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
-       gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
index 8937632b85de3758b890615e97a0b1c07e842289..4c8b1c6285694a7760ee9d7bd277dc97f464d534 100644 (file)
@@ -61,7 +61,6 @@ SourceWindow *source_window_create(void)
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Source of the message"));
-       gtk_window_set_wmclass(GTK_WINDOW(window), "source_window", "Sylpheed");
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, prefs_common.sourcewin_width,
                                    prefs_common.sourcewin_height);
index 04afac49c037536eaceb84a616996ff37cdcde46..3a9844e651529f1c855843420a230fe34bc55f86 100644 (file)
@@ -81,7 +81,7 @@ void ssl_manager_create(void)
        gtk_window_set_title (GTK_WINDOW(window),
                              _("Saved SSL Certificates"));
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
-       gtk_window_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
+       gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(ssl_manager_ok_cb), NULL);