[ekiga] Removed the unused gtk+ toolbar building code
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga] Removed the unused gtk+ toolbar building code
- Date: Sat, 11 Jul 2009 10:03:19 +0000 (UTC)
commit 23cc49bbf98539acd9cb9bba66610a72f1ea5b6b
Author: Julien Puydt <jpuydt gnome org>
Date: Sat Jul 11 10:52:57 2009 +0200
Removed the unused gtk+ toolbar building code
It gave only ugly results :-/
lib/engine/gui/gtk-core/Makefile.am | 2 -
lib/engine/gui/gtk-core/toolbar-builder-gtk.cpp | 96 -----------------------
lib/engine/gui/gtk-core/toolbar-builder-gtk.h | 64 ---------------
lib/engine/gui/gtk-frontend/roster-view-gtk.cpp | 13 ---
4 files changed, 0 insertions(+), 175 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/Makefile.am b/lib/engine/gui/gtk-core/Makefile.am
index e9eb769..654752d 100644
--- a/lib/engine/gui/gtk-core/Makefile.am
+++ b/lib/engine/gui/gtk-core/Makefile.am
@@ -13,8 +13,6 @@ INCLUDES = \
-I$(top_srcdir)/lib/engine/addressbook
libgmgtk_core_la_SOURCES = \
- $(gtk_core_dir)/toolbar-builder-gtk.h \
- $(gtk_core_dir)/toolbar-builder-gtk.cpp \
$(gtk_core_dir)/menu-builder-gtk.h \
$(gtk_core_dir)/menu-builder-gtk.cpp \
$(gtk_core_dir)/form-dialog-gtk.h \
diff --git a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
index d4b23a4..d38da45 100644
--- a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
+++ b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
@@ -47,7 +47,6 @@
#include "menu-builder-tools.h"
#include "roster-view-gtk.h"
#include "menu-builder-gtk.h"
-#include "toolbar-builder-gtk.h"
#include "form-dialog-gtk.h"
@@ -614,10 +613,6 @@ on_selection_changed (GtkTreeSelection* selection,
case TYPE_PRESENTITY: {
- //ToolbarBuilderGtk builder(self->priv->toolbar);
- //Ekiga::ShortMenuBuilder shorter(builder);
- //presentity->populate_menu (shorter);
- //gtk_widget_show_all (self->priv->toolbar);
g_signal_emit (self, signals[PRESENTITY_SELECTED_SIGNAL], 0, presentity);
g_signal_emit (self, signals[HEAP_SELECTED_SIGNAL], 0, NULL);
g_signal_emit (self, signals[HEAP_GROUP_SELECTED_SIGNAL], 0, NULL, NULL);
@@ -625,10 +620,6 @@ on_selection_changed (GtkTreeSelection* selection,
}
case TYPE_HEAP: {
- //ToolbarBuilderGtk builder(self->priv->toolbar);
- //Ekiga::ShortMenuBuilder shorter(builder);
- //heap->populate_menu (shorter);
- //gtk_widget_show_all (self->priv->toolbar);
g_signal_emit (self, signals[PRESENTITY_SELECTED_SIGNAL], 0, NULL);
g_signal_emit (self, signals[HEAP_SELECTED_SIGNAL], 0, heap);
g_signal_emit (self, signals[HEAP_GROUP_SELECTED_SIGNAL], 0, NULL, NULL);
@@ -637,10 +628,6 @@ on_selection_changed (GtkTreeSelection* selection,
case TYPE_GROUP: {
- //ToolbarBuilderGtk builder(self->priv->toolbar);
- //Ekiga::ShortMenuBuilder shorter(builder);
- //heap->populate_menu_for_group (name, shorter);
- //gtk_widget_show_all (self->priv->toolbar);
g_signal_emit (self, signals[PRESENTITY_SELECTED_SIGNAL], 0, NULL);
g_signal_emit (self, signals[HEAP_SELECTED_SIGNAL], 0, NULL);
g_signal_emit (self, signals[HEAP_GROUP_SELECTED_SIGNAL], 0, heap, name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]