[gnome-games] swell-foop: Add 256x256 icon



commit 3974972e7a407a630787326df16a7fc016fa2711
Author: Robert Ancell <robert ancell canonical com>
Date:   Sun Jul 8 09:16:25 2012 +1200

    swell-foop: Add 256x256 icon

 gnomine/src/gnomine.vala                     |   34 +-------------------------
 swell-foop/data/icons/256x256/swell-foop.png |  Bin 0 -> 41456 bytes
 swell-foop/data/icons/Makefile.am            |    2 +
 3 files changed, 3 insertions(+), 33 deletions(-)
---
diff --git a/gnomine/src/gnomine.vala b/gnomine/src/gnomine.vala
index 9fb6309..2771a67 100644
--- a/gnomine/src/gnomine.vala
+++ b/gnomine/src/gnomine.vala
@@ -136,37 +136,6 @@ public class GnoMine : Gtk.Application
         window.add (main_vbox);
         main_vbox.show ();
 
-        var action_group = new Gtk.ActionGroup ("group");
-        action_group.set_translation_domain (GETTEXT_PACKAGE);
-        action_group.add_actions (actions, this);
-
-        var ui_manager = new Gtk.UIManager ();
-        ui_manager.insert_action_group (action_group, 0);
-        try
-        {
-            ui_manager.add_ui_from_string (ui_description, -1);
-        }
-        catch (Error e)
-        {
-        }
-        hint_action = action_group.get_action ("Hint");
-        hint_action.is_important = true;
-        hint_action.set_sensitive (false);
-
-        new_game_action = action_group.get_action ("NewGame");
-        new_game_action.is_important = true;
-        new_game_action.set_sensitive (false);
-
-        fullscreen_action = new GnomeGamesSupport.FullscreenAction ("Fullscreen", window);
-        action_group.add_action_with_accel (fullscreen_action, null);
-
-        pause_action = new GnomeGamesSupport.PauseAction ("PauseGame");
-        pause_action.set_sensitive (false);
-        pause_action.state_changed.connect (pause_cb);
-        action_group.add_action_with_accel (pause_action, null);
-
-        window.add_accel_group (ui_manager.get_accel_group ());
-
         var status_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 10);
         status_box.show ();
 
@@ -206,9 +175,8 @@ public class GnoMine : Gtk.Application
         worried_face_image = load_face_image ("face-worried.svg");
 
         /* initialize toolbar */
-        var toolbar = (Gtk.Toolbar) ui_manager.get_widget ("/Toolbar");
+        var toolbar = new Gtk.Toolbar ();
         toolbar.show_arrow = false;
-        face_button = (Gtk.ToolButton) ui_manager.get_widget ("/Toolbar/NewGame");
         toolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);
         /* replace the dull new-game icon with fancy faces */
         set_face_image (smile_face_image);
diff --git a/swell-foop/data/icons/256x256/swell-foop.png b/swell-foop/data/icons/256x256/swell-foop.png
new file mode 100644
index 0000000..a607aff
Binary files /dev/null and b/swell-foop/data/icons/256x256/swell-foop.png differ
diff --git a/swell-foop/data/icons/Makefile.am b/swell-foop/data/icons/Makefile.am
index 63ba8c4..0a5f27d 100644
--- a/swell-foop/data/icons/Makefile.am
+++ b/swell-foop/data/icons/Makefile.am
@@ -3,6 +3,7 @@ icon22dir=$(datadir)/icons/hicolor/22x22/apps
 icon24dir=$(datadir)/icons/hicolor/24x24/apps
 icon32dir=$(datadir)/icons/hicolor/32x32/apps
 icon48dir=$(datadir)/icons/hicolor/48x48/apps
+icon256dir=$(datadir)/icons/hicolor/256x256/apps
 iconscalabledir=$(datadir)/icons/hicolor/scalable/apps
 
 icon16_DATA = 16x16/swell-foop.png
@@ -10,6 +11,7 @@ icon22_DATA = 22x22/swell-foop.png
 icon24_DATA = 24x24/swell-foop.png
 icon32_DATA = 32x32/swell-foop.png
 icon48_DATA = 48x48/swell-foop.png
+icon256_DATA = 256x256/swell-foop.png
 iconscalable_DATA = scalable/swell-foop.svg
 
 EXTRA_DIST = $(icon16_DATA) $(icon22_DATA) $(icon24_DATA) $(icon32_DATA) $(icon48_DATA) $(icon256_DATA) $(iconscalable_DATA)



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