Get rid of gui_tweaks 4

This commit is contained in:
Berke Viktor 2012-10-22 08:24:52 +02:00
parent 6cd5d086bb
commit 1665443062
3 changed files with 3 additions and 1 deletions

View File

@ -499,6 +499,7 @@ const struct prefs vars[] = {
{"gui_win_left", P_OFFINT (mainwindow_left), TYPE_INT},
{"gui_win_modes", P_OFFINT (gui_win_modes), TYPE_BOOL},
{"gui_win_save", P_OFFINT (mainwindow_save), TYPE_BOOL},
{"gui_win_swap", P_OFFINT (gui_win_swap), TYPE_BOOL},
{"gui_win_state", P_OFFINT (gui_win_state), TYPE_INT},
{"gui_win_top", P_OFFINT (mainwindow_top), TYPE_INT},
{"gui_win_ucount", P_OFFINT (gui_win_ucount), TYPE_BOOL},

View File

@ -300,6 +300,7 @@ struct xchatprefs
unsigned int gui_tweaks;
unsigned int gui_ulist_icons;
unsigned int gui_win_modes;
unsigned int gui_win_swap;
unsigned int gui_win_ucount;
unsigned int throttle;
unsigned int topicbar;

View File

@ -2591,7 +2591,7 @@ mg_create_center (session *sess, session_gui *gui, GtkWidget *box)
/* sep between xtext and right side */
gui->hpane_right = gtk_hpaned_new ();
if (prefs.gui_tweaks & 4)
if (prefs.gui_win_swap)
{
gtk_paned_pack2 (GTK_PANED (gui->hpane_left), gui->vpane_left, FALSE, TRUE);
gtk_paned_pack1 (GTK_PANED (gui->hpane_left), gui->hpane_right, TRUE, TRUE);