summaryrefslogtreecommitdiff
path: root/recipes/matchbox2/matchbox-panel-2/themeable-icons.patch
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-09-22 23:36:32 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-09-22 23:36:32 +0000
commit3bcf3726467d678126952436b80f4a10c2184c4d (patch)
treedec42459f0732cb88b54aac55afd7ac8431d5c4e /recipes/matchbox2/matchbox-panel-2/themeable-icons.patch
parent1e4dc820bb189c367daddd07643c0146122823c0 (diff)
matchbox2: Make it working:
* fixed known crashers * created usable icon theme * provided session script
Diffstat (limited to 'recipes/matchbox2/matchbox-panel-2/themeable-icons.patch')
-rw-r--r--recipes/matchbox2/matchbox-panel-2/themeable-icons.patch92
1 files changed, 92 insertions, 0 deletions
diff --git a/recipes/matchbox2/matchbox-panel-2/themeable-icons.patch b/recipes/matchbox2/matchbox-panel-2/themeable-icons.patch
new file mode 100644
index 0000000000..9b41ce81ed
--- /dev/null
+++ b/recipes/matchbox2/matchbox-panel-2/themeable-icons.patch
@@ -0,0 +1,92 @@
+Index: configure.ac
+===================================================================
+--- configure.ac (revision 2098)
++++ configure.ac (working copy)
+@@ -88,14 +88,12 @@
+ applets/launcher/Makefile
+ applets/notify/Makefile
+ applets/startup/Makefile
+-applets/startup/data/Makefile
+ applets/startup-notify/Makefile
+ applets/systray/Makefile
+ applets/showdesktop/Makefile
+ applets/windowselector/Makefile
+ applets/battery/Makefile
+ applets/brightness/Makefile
+-applets/brightness/data/Makefile
+ po/Makefile.in
+ po/Makefile
+ ])
+Index: applets/startup/startup.c
+===================================================================
+--- applets/startup/startup.c (revision 2098)
++++ applets/startup/startup.c (working copy)
+@@ -191,8 +191,8 @@
+ if (applet->hourglass_cur_frame_n == 8)
+ applet->hourglass_cur_frame_n = 0;
+
+- icon = malloc (sizeof(DATADIR) + 16);
+- sprintf (icon, "%s/hourglass-%i.png", DATADIR,
++ icon = malloc (12);
++ sprintf (icon, "hourglass-%i",
+ applet->hourglass_cur_frame_n);
+
+ mb_panel_scaling_image_set_icon (applet->image, icon);
+Index: applets/startup/Makefile.am
+===================================================================
+--- applets/startup/Makefile.am (revision 2098)
++++ applets/startup/Makefile.am (working copy)
+@@ -1,5 +1,3 @@
+-SUBDIRS = data
+-
+ AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DGETTEXT_PACKAGE=\"matchbox-panel\" \
+ -DDATADIR=\"$(pkgdatadir)/startup/\"
+Index: applets/brightness/Makefile.am
+===================================================================
+--- applets/brightness/Makefile.am (revision 2098)
++++ applets/brightness/Makefile.am (working copy)
+@@ -1,5 +1,3 @@
+-SUBDIRS = data
+-
+ AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DGETTEXT_PACKAGE=\"matchbox-panel\" \
+ -DDATADIR=\"$(pkgdatadir)/brightness/\"
+Index: applets/brightness/brightness.c
+===================================================================
+--- applets/brightness/brightness.c (revision 2098)
++++ applets/brightness/brightness.c (working copy)
+@@ -131,7 +131,6 @@
+ NULL};
+
+ theme = gtk_icon_theme_get_default();
+- gtk_icon_theme_append_search_path(theme, DATADIR);
+
+ applet = g_slice_new(BrightnessApplet);
+ scale = gtk_scale_button_new(GTK_ICON_SIZE_BUTTON,
+Index: applets/windowselector/windowselector.c
+===================================================================
+--- applets/windowselector/windowselector.c (revision 2098)
++++ applets/windowselector/windowselector.c (working copy)
+@@ -797,7 +797,7 @@
+ switch (applet->mode) {
+ case MODE_STATIC_ICON:
+ applet->image = mb_panel_scaling_image_new (orientation,
+- "panel-task-switcher");
++ "task-switcher");
+ gtk_container_add (GTK_CONTAINER (applet->button),
+ applet->image);
+ break;
+Index: applets/showdesktop/showdesktop.c
+===================================================================
+--- applets/showdesktop/showdesktop.c (revision 2098)
++++ applets/showdesktop/showdesktop.c (working copy)
+@@ -50,7 +50,7 @@
+
+ /* TODO: remove this function and instead use a toggle button? */
+
+- icon = "panel-user-desktop";
++ icon = "user-desktop";
+
+ mb_panel_scaling_image_set_icon (applet->image, icon);
+ }