diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-05 06:05:38 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-05 06:05:38 +0200 |
commit | ed217600232f3cf93efe1d93da0eb70068195831 (patch) | |
tree | d2dc0716548e347c4c21ff3d0f275652e126626c /xchat-wdk.patch | |
parent | bb958766a06cdb99c3b286775e0514b179277a41 (diff) |
only center network close dialog if using tabs on bottom
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r-- | xchat-wdk.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch index 164e278e..001b07fe 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -1187,7 +1187,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/joind.c xchat-wdk/src/fe diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/fe-gtk/maingui.c --- xchat-wdk.orig/src/fe-gtk/maingui.c 2010-05-16 05:20:22 +0200 -+++ xchat-wdk/src/fe-gtk/maingui.c 2010-10-05 03:55:28 +0200 ++++ xchat-wdk/src/fe-gtk/maingui.c 2010-10-05 06:00:24 +0200 @@ -214,60 +214,10 @@ away_list = mg_attr_list_create (&colors[COL_AWAY], FALSE); } @@ -1274,13 +1274,13 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/ g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (mg_tab_close_cb), sess); - gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); -+ if (prefs.tab_layout) ++ if (!prefs.tab_layout && prefs.tab_pos == 6) + { -+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); ++ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT); + } + else + { -+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT); ++ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); + } gtk_widget_show (dialog); } |