[Xfce4-commits] r24782 - squeeze/trunk/src
Stephan Arts
stephan at xfce.org
Sun Jan 28 23:12:48 CET 2007
Author: stephan
Date: 2007-01-28 22:12:48 +0000 (Sun, 28 Jan 2007)
New Revision: 24782
Modified:
squeeze/trunk/src/notebook.c
Log:
fixed rules-hint settings
Modified: squeeze/trunk/src/notebook.c
===================================================================
--- squeeze/trunk/src/notebook.c 2007-01-28 21:40:18 UTC (rev 24781)
+++ squeeze/trunk/src/notebook.c 2007-01-28 22:12:48 UTC (rev 24782)
@@ -513,6 +513,7 @@
sq_archive_store_connect_treeview(SQ_ARCHIVE_STORE(tree_model), GTK_TREE_VIEW(tree_view));
gtk_tree_view_set_model(GTK_TREE_VIEW(tree_view), tree_model);
+ gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree_view), notebook->props._rules_hint);
if(gtk_notebook_get_n_pages(GTK_NOTEBOOK(notebook)))
gtk_notebook_set_show_tabs(GTK_NOTEBOOK(notebook), TRUE);
@@ -844,7 +845,7 @@
static void
cb_sq_notebook_notify_proxy(GObject *obj, GParamSpec *pspec, gpointer user_data)
{
- if(strcmp(g_param_spec_get_name(pspec), "show-icons") == 0 || strcmp(g_param_spec_get_name(pspec), "rules-hint") == 0)
+ if(strcmp(g_param_spec_get_name(pspec), "show-icons") == 0)
{
g_object_notify(user_data, g_param_spec_get_name(pspec));
@@ -857,5 +858,9 @@
{
g_object_notify(user_data, g_param_spec_get_name(pspec));
}
+ if(strcmp(g_param_spec_get_name(pspec), "rules-hint") == 0)
+ {
+ g_object_notify(user_data, g_param_spec_get_name(pspec));
+ }
}
More information about the Xfce4-commits
mailing list