rpms/gnome-applets/F-9 gnome-applets-trashiconsize.patch, NONE, 1.1 gnome-applets.spec, 1.276, 1.277

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Wed Apr 23 18:08:28 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-applets/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19920

Modified Files:
	gnome-applets.spec 
Added Files:
	gnome-applets-trashiconsize.patch 
Log Message:
Reduce trash icon size


gnome-applets-trashiconsize.patch:

--- NEW FILE gnome-applets-trashiconsize.patch ---
diff -up gnome-applets-2.22.1/trashapplet/src/trashapplet.c.iconsize gnome-applets-2.22.1/trashapplet/src/trashapplet.c
--- gnome-applets-2.22.1/trashapplet/src/trashapplet.c.iconsize	2008-04-23 13:58:38.000000000 -0400
+++ gnome-applets-2.22.1/trashapplet/src/trashapplet.c	2008-04-23 13:58:53.000000000 -0400
@@ -160,12 +160,12 @@ trash_applet_size_allocate (GtkWidget   
   {
     case PANEL_APPLET_ORIENT_LEFT:
     case PANEL_APPLET_ORIENT_RIGHT:
-      gtk_image_set_pixel_size (applet->image, allocation->width);
+      gtk_image_set_pixel_size (applet->image, allocation->width - 2);
       break;
 
     case PANEL_APPLET_ORIENT_UP:
     case PANEL_APPLET_ORIENT_DOWN:
-      gtk_image_set_pixel_size (applet->image, allocation->height);
+      gtk_image_set_pixel_size (applet->image, allocation->height - 2);
       break;
   }
 


Index: gnome-applets.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-applets/F-9/gnome-applets.spec,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -r1.276 -r1.277
--- gnome-applets.spec	7 Apr 2008 23:56:22 -0000	1.276
+++ gnome-applets.spec	23 Apr 2008 18:07:52 -0000	1.277
@@ -80,6 +80,9 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=517500
 Patch50: 	keyboard-properties.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=529579
+Patch51:	gnome-applets-trashiconsize.patch
+
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  gtk2-devel >= %{gtk2_version}
 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
@@ -172,6 +175,7 @@
 %patch42 -p1 -b .vertical-invest
 %patch44 -p1 -b .gweather-gnome-vfs
 %patch50 -p1 -b .keyboard-properties
+%patch51 -p1 -b .trashiconsize
 
 cp gswitchit/gswitchit-applet.png  gswitchit/gswitchit-properties-capplet.png
 
@@ -343,6 +347,9 @@
 %{_sysconfdir}/security/console.apps/*
 
 %changelog
+* Wed Apr 23 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.22.1-2
+- Reduce the trash icon size (#438620)
+
 * Mon Apr  7 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.22.1-1
 - Update to 2.22.1
 




More information about the fedora-extras-commits mailing list