[ekiga] Made empty heaps invisible



commit ce10978ff72e91ada4bf2770e8c37b250d9323cd
Author: Julien Puydt <jpuydt gnome org>
Date:   Sun Sep 26 20:34:28 2010 +0200

    Made empty heaps invisible
    
    This is bug #548750 -- it makes heaps disappear when they are "empty"
    (either really empty or populated by hidden offline contacts).
    
    The gtk+ bug that blocked it has been closed since one year, so it should
    be safe.

 lib/engine/gui/gtk-frontend/roster-view-gtk.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
index ec91cea..8e9f425 100644
--- a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
+++ b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
@@ -751,12 +751,12 @@ group_hide_show_offline (RosterViewGtk* self,
 
 static gboolean
 heap_hide_show_offline (G_GNUC_UNUSED RosterViewGtk* self,
-			G_GNUC_UNUSED GtkTreeModel* model,
-			G_GNUC_UNUSED GtkTreeIter* iter)
+			GtkTreeModel* model,
+			GtkTreeIter* iter)
 {
   gboolean result;
 
-  result = TRUE;//FIXME for 548750: gtk_tree_model_iter_has_child (model, iter);
+  result = gtk_tree_model_iter_has_child (model, iter);
 
   return result;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]