← Back to team overview

elementaryart team mailing list archive

[Merge] lp:~mefrio-g/granite/fix-990203 into lp:granite

 

Mario Guerriero has proposed merging lp:~mefrio-g/granite/fix-990203 into lp:granite.

Requested reviews:
  elementary Pantheon team (elementary-pantheon)
Related bugs:
  Bug #990203 in Granite: "use "application-menu" for appmenu icon"
  https://bugs.launchpad.net/granite/+bug/990203

For more details, see:
https://code.launchpad.net/~mefrio-g/granite/fix-990203/+merge/103976
-- 
https://code.launchpad.net/~mefrio-g/granite/fix-990203/+merge/103976
Your team elementaryart (old) is subscribed to branch lp:granite.
=== modified file 'lib/Widgets/AppMenu.vala'
--- lib/Widgets/AppMenu.vala	2012-01-15 21:04:11 +0000
+++ lib/Widgets/AppMenu.vala	2012-04-28 11:08:17 +0000
@@ -29,12 +29,12 @@
 
         public AppMenu (Gtk.Menu menu) {
         
-            base (new Image.from_stock (Stock.PROPERTIES, IconSize.MENU), _("Menu"), menu);
+            base (new Image.from_icon_name ("application-menu", IconSize.MENU), _("Menu"), menu);
         }
 
         public AppMenu.with_app (Granite.Application? application, Gtk.Menu menu) {
         
-            base (new Image.from_stock (Stock.PROPERTIES, IconSize.MENU), _("Menu"), menu);
+            base (new Image.from_icon_name ("application-menu", IconSize.MENU), _("Menu"), menu);
             
             this.add_items (menu);
             
@@ -48,7 +48,7 @@
          **/
         public AppMenu.with_urls (Gtk.Menu menu, string help_url, string translate_url, string bug_url) {
             critical("This is a deprecated creation method: AppMenu.with_urls");
-            base (new Image.from_stock (Stock.PROPERTIES, IconSize.MENU), _("Menu"), menu);
+            base (new Image.from_icon_name ("application-menu", IconSize.MENU), _("Menu"), menu);
         }
         
         public void add_items (Gtk.Menu menu) {


Follow ups