[Xfce4-commits] <midori:master> Update tabs being closable on setting change in Granite
Christian Dywan
noreply at xfce.org
Wed Apr 3 01:24:02 CEST 2013
Updating branch refs/heads/master
to 63f5230dbbd893b6fd5acc6bb2dc8dcbf17d43c9 (commit)
from 04a37a8fb427cb30ad346c4157b1feee2f183b75 (commit)
commit 63f5230dbbd893b6fd5acc6bb2dc8dcbf17d43c9
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Apr 3 00:15:11 2013 +0200
Update tabs being closable on setting change in Granite
midori/midori-browser.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index a827530..a997f7f 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -6960,6 +6960,11 @@ midori_browser_settings_notify (MidoriWebSettings* web_settings,
}
else if (name == g_intern_string ("maximum-history-age"))
browser->maximum_history_age = g_value_get_int (&value);
+ #ifdef HAVE_GRANITE
+ else if (name == g_intern_string ("close-buttons-on-tabs"))
+ granite_widgets_dynamic_notebook_set_tabs_closable (
+ GRANITE_WIDGETS_DYNAMIC_NOTEBOOK (browser->notebook), g_value_get_boolean (&value));
+ #endif
else if (name == g_intern_string ("close-buttons-left"))
{
midori_findbar_set_close_button_left (MIDORI_FINDBAR (browser->find),
More information about the Xfce4-commits
mailing list