From: <sa...@us...> - 2006-09-16 05:38:38
|
Revision: 17287 http://svn.sourceforge.net/gaim/?rev=17287&view=rev Author: sadrul Date: 2006-09-15 22:38:33 -0700 (Fri, 15 Sep 2006) Log Message: ----------- I think this is slightly better. Modified Paths: -------------- trunk/gtk/gtkblist.c trunk/gtk/gtkcellrendererexpander.c Modified: trunk/gtk/gtkblist.c =================================================================== --- trunk/gtk/gtkblist.c 2006-09-16 03:29:21 UTC (rev 17286) +++ trunk/gtk/gtkblist.c 2006-09-16 05:38:33 UTC (rev 17287) @@ -3984,6 +3984,7 @@ gtk_tree_view_column_pack_start(column, rend, FALSE); gtk_tree_view_column_set_attributes(column, rend, "expander-visible", GROUP_EXPANDER_COLUMN, + "sensitive", GROUP_EXPANDER_COLUMN, "cell-background-gdk", BGCOLOR_COLUMN, NULL); @@ -3991,6 +3992,7 @@ gtk_tree_view_column_pack_start(column, rend, FALSE); gtk_tree_view_column_set_attributes(column, rend, "expander-visible", CONTACT_EXPANDER_COLUMN, + "sensitive", CONTACT_EXPANDER_COLUMN, "visible", CONTACT_EXPANDER_VISIBLE_COLUMN, "cell-background-gdk", BGCOLOR_COLUMN, NULL); @@ -4528,7 +4530,6 @@ if(gtknode->contact_expanded) { GdkPixbuf *status; char *mark; - char *white; status = gaim_gtk_blist_get_status_icon(cnode, (gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons") ? Modified: trunk/gtk/gtkcellrendererexpander.c =================================================================== --- trunk/gtk/gtkcellrendererexpander.c 2006-09-16 03:29:21 UTC (rev 17286) +++ trunk/gtk/gtkcellrendererexpander.c 2006-09-16 05:38:33 UTC (rev 17287) @@ -265,7 +265,7 @@ cell->is_expanded ? GTK_EXPANDER_EXPANDED : GTK_EXPANDER_COLLAPSED); } -static gint gaim_gtk_cell_renderer_expander_activate(GtkCellRenderer *r, +static gboolean gaim_gtk_cell_renderer_expander_activate(GtkCellRenderer *r, GdkEvent *event, GtkWidget *widget, const gchar *p, @@ -280,4 +280,5 @@ else gtk_tree_view_expand_row(GTK_TREE_VIEW(widget),path,FALSE); gtk_tree_path_free(path); + return FALSE; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |