[ekiga] GActorMenu: Show all available actions.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] GActorMenu: Show all available actions.
- Date: Sun, 11 Jan 2015 14:18:07 +0000 (UTC)
commit 6304fa2b45d18f1b17c0d41d00b9261875c1c499
Author: Damien Sandras <dsandras seconix com>
Date: Sun Jan 11 15:16:55 2015 +0100
GActorMenu: Show all available actions.
lib/engine/gui/gtk-core/gactor-menu.cpp | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/gactor-menu.cpp b/lib/engine/gui/gtk-core/gactor-menu.cpp
index 7393c9f..d331e22 100644
--- a/lib/engine/gui/gtk-core/gactor-menu.cpp
+++ b/lib/engine/gui/gtk-core/gactor-menu.cpp
@@ -222,14 +222,12 @@ Ekiga::GActorMenu::as_xml (const std::string & id,
for (it = obj.begin(); it != obj.end(); ++it) {
- if ((*it)->is_enabled ()) {
- xml_content +=
- " <item>"
- " <attribute name=\"label\" translatable=\"yes\">"+(*it)->get_description ()+"</attribute>"
- " <attribute name=\"action\">" + context + "."+(*it)->get_name ()+"</attribute>"
- " </item>";
- n++;
- }
+ xml_content +=
+ " <item>"
+ " <attribute name=\"label\" translatable=\"yes\">"+(*it)->get_description ()+"</attribute>"
+ " <attribute name=\"action\">" + context + "."+(*it)->get_name ()+"</attribute>"
+ " </item>";
+ n++;
}
xml_content +=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]