r43230 - in /desktop/unstable/gnome-panel/debian: changelog patches/fix_huge_icons.patch patches/series

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Sep 26 09:47:44 UTC 2014


Author: mitya57-guest
Date: Fri Sep 26 09:47:43 2014
New Revision: 43230

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=43230
Log:
Add a patch to fix huge icons in the menu.

Added:
    desktop/unstable/gnome-panel/debian/patches/fix_huge_icons.patch
Modified:
    desktop/unstable/gnome-panel/debian/changelog
    desktop/unstable/gnome-panel/debian/patches/series

Modified: desktop/unstable/gnome-panel/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/changelog?rev=43230&op=diff
==============================================================================
--- desktop/unstable/gnome-panel/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-panel/debian/changelog	[utf-8] Fri Sep 26 09:47:43 2014
@@ -5,6 +5,7 @@
   * Rename 01_gnome-wm.patch to 01_required_components.patch.
   * Add gnome-flashback to required components of Flashback session.
   * Make gnome-session-flashback depend on gnome-flashback.
+  * Add a patch to fix huge icons in the menu.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Fri, 26 Sep 2014 13:27:20 +0400
 

Added: desktop/unstable/gnome-panel/debian/patches/fix_huge_icons.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/patches/fix_huge_icons.patch?rev=43230&op=file
==============================================================================
--- desktop/unstable/gnome-panel/debian/patches/fix_huge_icons.patch	(added)
+++ desktop/unstable/gnome-panel/debian/patches/fix_huge_icons.patch	[utf-8] Fri Sep 26 09:47:43 2014
@@ -0,0 +1,25 @@
+Description: fix huge icons appearing in the menu
+Author: Alberts Muktupāvels <alberts.muktupavels at gmail.com>
+Forwarded: yes, https://mail.gnome.org/archives/gnome-flashback-list/2014-September/msg00038.html
+Last-Update: 2014-09-26
+
+--- a/gnome-panel/menu.c
++++ b/gnome-panel/menu.c
+@@ -441,6 +441,7 @@
+ {
+ 	while (icons_to_add) {
+ 		IconToAdd *icon_to_add = icons_to_add->data;
++		int icon_height;
+ 
+ 		icons_to_add = g_list_delete_link (icons_to_add, icons_to_add);
+ 
+@@ -468,6 +469,9 @@
+ 			g_object_unref (icon_to_add->pixbuf);
+ 		}
+ 
++		if (gtk_icon_size_lookup (icon_to_add->icon_size, NULL, &icon_height))
++			gtk_image_set_pixel_size (GTK_IMAGE (icon_to_add->image), icon_height);
++
+ 		if (icon_to_add->gicon)
+ 			g_object_unref (icon_to_add->gicon);
+ 		g_object_unref (icon_to_add->image);

Modified: desktop/unstable/gnome-panel/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/patches/series?rev=43230&op=diff
==============================================================================
--- desktop/unstable/gnome-panel/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gnome-panel/debian/patches/series	[utf-8] Fri Sep 26 09:47:43 2014
@@ -1,3 +1,4 @@
 01_required_components.patch
 03_tasklist_orientation.patch
 fix_crash_on_adding.patch
+fix_huge_icons.patch




More information about the pkg-gnome-commits mailing list