diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-22 08:00:55 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-22 08:00:55 +0200 |
commit | 9435851dee786a9f5057d324375ecc8a454a99f5 (patch) | |
tree | 6b842698151ce3ea65b45555da201716694c5017 /src/fe-gtk | |
parent | 02dd0ba5602b4e8ce05266f5d1be92ad29d7dd3e (diff) |
Get rid of gui_tweaks 8
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/chanview-tree.c | 4 | ||||
-rw-r--r-- | src/fe-gtk/setup.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/chanview-tree.c b/src/fe-gtk/chanview-tree.c index dee52228..763dea4f 100644 --- a/src/fe-gtk/chanview-tree.c +++ b/src/fe-gtk/chanview-tree.c @@ -101,8 +101,10 @@ cv_tree_init (chanview *cv) GTK_WIDGET_UNSET_FLAGS (view, GTK_CAN_FOCUS); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (view), FALSE); - if (!(prefs.gui_tweaks & 8)) + if (prefs.gui_tab_dots) + { gtk_tree_view_set_enable_tree_lines (GTK_TREE_VIEW (view), TRUE); + } gtk_container_add (GTK_CONTAINER (win), view); diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index 7a89f5be..5f6f7b37 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -335,6 +335,7 @@ static const setting tabs_settings[] = {ST_TOGGLE, N_("Open a new tab when you receive a private message"), P_OFFINTNL(autodialog), 0, 0, 0}, {ST_TOGGLE, N_("Sort tabs in alphabetical order"), P_OFFINTNL(tab_sort), 0, 0, 0}, {ST_TOGGLE, N_("Show icons in the channel tree"), P_OFFINTNL(tab_icons), 0, 0, 0}, + {ST_TOGGLE, N_("Show dotted lines in the channel tree"), P_OFFINTNL(gui_tab_dots), 0, 0, 0}, {ST_TOGGLE, N_("Smaller text"), P_OFFINTNL(tab_small), 0, 0, 0}, #if 0 {ST_MENU, N_("Focus new tabs:"), P_OFFINTNL(newtabstofront), 0, focusnewtabsmenu, 0}, |