diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/maingui.c | 4 | ||||
-rw-r--r-- | src/fe-gtk/servlistgui.c | 2 | ||||
-rw-r--r-- | src/fe-gtk/setup.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index b9d402dc..a537da6f 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -1404,7 +1404,7 @@ mg_link_gentab (chan *ch, GtkWidget *box) win = gtkutil_window_new (g_object_get_data (G_OBJECT (box), "title"), "", GPOINTER_TO_INT (g_object_get_data (G_OBJECT (box), "w")), GPOINTER_TO_INT (g_object_get_data (G_OBJECT (box), "h")), - 3); + 2); /* so it doesn't try to chan_remove (there's no tab anymore) */ g_object_steal_data (G_OBJECT (box), "ch"); gtk_container_set_border_width (GTK_CONTAINER (box), 0); @@ -3643,7 +3643,7 @@ mg_create_generic_tab (char *name, char *title, int force_toplevel, if (force_toplevel || !prefs.hex_gui_tab_utils) { - win = gtkutil_window_new (title, name, width, height, 3); + win = gtkutil_window_new (title, name, width, height, 2); vbox = gtk_vbox_new (0, 0); *vbox_ret = vbox; gtk_container_add (GTK_CONTAINER (win), vbox); diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index 9fd09419..f860a3e7 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -1650,7 +1650,6 @@ servlist_open_edit (GtkWidget *parent, ircnet *net) snprintf (buf, sizeof (buf), _(DISPLAY_NAME": Edit %s"), net->name); gtk_window_set_title (GTK_WINDOW (editwindow), buf); gtk_window_set_default_size (GTK_WINDOW (editwindow), netedit_win_width, netedit_win_height); - gtk_window_set_position (GTK_WINDOW (editwindow), GTK_WIN_POS_MOUSE); gtk_window_set_transient_for (GTK_WINDOW (editwindow), GTK_WINDOW (parent)); gtk_window_set_modal (GTK_WINDOW (editwindow), TRUE); gtk_window_set_type_hint (GTK_WINDOW (editwindow), GDK_WINDOW_TYPE_HINT_DIALOG); @@ -1916,7 +1915,6 @@ servlist_open_networks (void) gtk_container_set_border_width (GTK_CONTAINER (servlist), 4); gtk_window_set_title (GTK_WINDOW (servlist), _(DISPLAY_NAME": Network List")); gtk_window_set_default_size (GTK_WINDOW (servlist), netlist_win_width, netlist_win_height); - gtk_window_set_position (GTK_WINDOW (servlist), GTK_WIN_POS_MOUSE); gtk_window_set_role (GTK_WINDOW (servlist), "servlist"); gtk_window_set_type_hint (GTK_WINDOW (servlist), GDK_WINDOW_TYPE_HINT_DIALOG); if (current_sess) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index d93841d9..4c2d4d11 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -2272,7 +2272,7 @@ setup_window_open (void) { GtkWidget *wid, *win, *vbox, *hbox, *hbbox; - win = gtkutil_window_new (_(DISPLAY_NAME": Preferences"), "prefs", 0, 0, 3); + win = gtkutil_window_new (_(DISPLAY_NAME": Preferences"), "prefs", 0, 0, 2); vbox = gtk_vbox_new (FALSE, 5); gtk_container_set_border_width (GTK_CONTAINER (vbox), 6); |