[ekiga] Use ui-less icon names in places which are supposed to be ui-independent



commit 1361f37286e20f469f0fb0ecaf16b9702456704a
Author: Julien Puydt <jpuydt free fr>
Date:   Tue Jun 26 14:23:14 2012 +0200

    Use ui-less icon names in places which are supposed to be ui-independent

 plugins/evolution/evolution-book.cpp    |    2 +-
 plugins/evolution/evolution-contact.cpp |    4 ++--
 plugins/ldap/ldap-book.cpp              |    6 +++---
 plugins/ldap/ldap-source.cpp            |    4 ++--
 plugins/loudmouth/loudmouth-account.cpp |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/plugins/evolution/evolution-book.cpp b/plugins/evolution/evolution-book.cpp
index e9e69e1..802ef2d 100644
--- a/plugins/evolution/evolution-book.cpp
+++ b/plugins/evolution/evolution-book.cpp
@@ -298,7 +298,7 @@ Evolution::Book::get_ebook () const
 bool
 Evolution::Book::populate_menu (Ekiga::MenuBuilder &builder)
 {
-  builder.add_action ("gtk-new", _("New _Contact"),
+  builder.add_action ("new", _("New _Contact"),
 		      boost::bind (&Evolution::Book::new_contact_action, this));
   return true;
 }
diff --git a/plugins/evolution/evolution-contact.cpp b/plugins/evolution/evolution-contact.cpp
index cee0cb7..a7f482c 100644
--- a/plugins/evolution/evolution-contact.cpp
+++ b/plugins/evolution/evolution-contact.cpp
@@ -225,9 +225,9 @@ Evolution::Contact::populate_menu (Ekiga::MenuBuilder &builder)
   if (populated)
     builder.add_separator ();
 
-  builder.add_action ("gtk-edit", _("_Edit"),
+  builder.add_action ("edit", _("_Edit"),
 		      boost::bind (&Evolution::Contact::edit_action, this));
-  builder.add_action ("gtk-remove", _("_Remove"),
+  builder.add_action ("remove", _("_Remove"),
 		      boost::bind (&Evolution::Contact::remove_action, this));
   populated = true;
 
diff --git a/plugins/ldap/ldap-book.cpp b/plugins/ldap/ldap-book.cpp
index 162bc29..9a736c1 100644
--- a/plugins/ldap/ldap-book.cpp
+++ b/plugins/ldap/ldap-book.cpp
@@ -424,12 +424,12 @@ OPENLDAP::Book::get_name () const
 bool
 OPENLDAP::Book::populate_menu (Ekiga::MenuBuilder &builder)
 {
-  builder.add_action ("gtk-refresh", _("_Refresh"),
+  builder.add_action ("refresh", _("_Refresh"),
 		      boost::bind (&OPENLDAP::Book::refresh, this));
   builder.add_separator ();
-  builder.add_action ("gtk-remove", _("_Remove addressbook"),
+  builder.add_action ("remove", _("_Remove addressbook"),
 		      boost::bind (&OPENLDAP::Book::remove, this));
-  builder.add_action ("gtk-properties", _("Addressbook _properties"),
+  builder.add_action ("edit", _("Addressbook _properties"),
 		      boost::bind (&OPENLDAP::Book::edit, this));
 
   return true;
diff --git a/plugins/ldap/ldap-source.cpp b/plugins/ldap/ldap-source.cpp
index 14d66f2..8a7923a 100644
--- a/plugins/ldap/ldap-source.cpp
+++ b/plugins/ldap/ldap-source.cpp
@@ -127,11 +127,11 @@ OPENLDAP::Source::common_add (BookPtr book)
 bool
 OPENLDAP::Source::populate_menu (Ekiga::MenuBuilder &builder)
 {
-  builder.add_action ("gtk-add", _("Add an LDAP Address Book"),
+  builder.add_action ("add", _("Add an LDAP Address Book"),
 		      boost::bind (&OPENLDAP::Source::new_book, this));
   if (!has_ekiga_net_book ()) {
 
-    builder.add_action ("gtk-add", _("Add the Ekiga.net Directory"),
+    builder.add_action ("add", _("Add the Ekiga.net Directory"),
 			boost::bind (&OPENLDAP::Source::new_ekiga_net_book, this));
   }
   return true;
diff --git a/plugins/loudmouth/loudmouth-account.cpp b/plugins/loudmouth/loudmouth-account.cpp
index 48d053e..94da368 100644
--- a/plugins/loudmouth/loudmouth-account.cpp
+++ b/plugins/loudmouth/loudmouth-account.cpp
@@ -440,9 +440,9 @@ LM::Account::populate_menu (Ekiga::MenuBuilder& builder)
 
   builder.add_separator ();
 
-  builder.add_action ("gtk-edit", _("Edit"),
+  builder.add_action ("edit", _("Edit"),
 		      boost::bind (&LM::Account::edit, this));
-  builder.add_action ("gtk-remove", _("_Remove"),
+  builder.add_action ("remove", _("_Remove"),
 		      boost::bind (&LM::Account::remove, this));
 
   return true;



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