Mercurial > pidgin.yaz
changeset 14564:4c14862f7fcc
[gaim-migrate @ 17287]
I think this is slightly better.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 16 Sep 2006 05:38:33 +0000 |
parents | c7a1dc62b312 |
children | ca943d7fb274 |
files | gtk/gtkblist.c gtk/gtkcellrendererexpander.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk/gtkblist.c Sat Sep 16 03:29:21 2006 +0000 +++ b/gtk/gtkblist.c Sat Sep 16 05:38:33 2006 +0000 @@ -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") ?
--- a/gtk/gtkcellrendererexpander.c Sat Sep 16 03:29:21 2006 +0000 +++ b/gtk/gtkcellrendererexpander.c Sat Sep 16 05:38:33 2006 +0000 @@ -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; }