ekiga r6182 - in trunk: . lib/engine/gui/gtk-core lib/engine/gui/gtk-frontend
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6182 - in trunk: . lib/engine/gui/gtk-core lib/engine/gui/gtk-frontend
- Date: Sat, 12 Apr 2008 15:51:57 +0100 (BST)
Author: dsandras
Date: Sat Apr 12 15:51:57 2008
New Revision: 6182
URL: http://svn.gnome.org/viewvc/ekiga?rev=6182&view=rev
Log:
Added icon to the clear history action and allowed translation.
Modified:
trunk/ChangeLog
trunk/lib/engine/gui/gtk-core/gtk-core.cpp
trunk/lib/engine/gui/gtk-frontend/call-history-view-gtk.cpp
Modified: trunk/lib/engine/gui/gtk-core/gtk-core.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-core/gtk-core.cpp (original)
+++ trunk/lib/engine/gui/gtk-core/gtk-core.cpp Sat Apr 12 15:51:57 2008
@@ -107,6 +107,10 @@
gtk_icon_factory_add (factory, "properties", icon_set);
gtk_icon_set_unref (icon_set);
+ icon_set = gtk_icon_factory_lookup_default (GTK_STOCK_CLEAR);
+ gtk_icon_factory_add (factory, "clear", icon_set);
+ gtk_icon_set_unref (icon_set);
+
gtk_icon_factory_add_default (factory);
g_object_unref (factory);
}
Modified: trunk/lib/engine/gui/gtk-frontend/call-history-view-gtk.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/call-history-view-gtk.cpp (original)
+++ trunk/lib/engine/gui/gtk-frontend/call-history-view-gtk.cpp Sat Apr 12 15:51:57 2008
@@ -142,7 +142,7 @@
}
if (!builder.empty())
builder.add_separator ();
- builder.add_action ("FIXME", "clear history", // FIXME: translate
+ builder.add_action ("clear", _("Clear"),
sigc::mem_fun (book, &History::Book::clear));
gtk_widget_show_all (builder.menu);
gtk_menu_popup (GTK_MENU (builder.menu), NULL, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]