rpms/gcalctool/devel icon-names.patch, NONE, 1.1 gcalctool.spec, 1.68, 1.69

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Mon Jul 28 04:07:13 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gcalctool/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3928

Modified Files:
	gcalctool.spec 
Added Files:
	icon-names.patch 
Log Message:
use standard icon names


icon-names.patch:

--- NEW FILE icon-names.patch ---
diff -up gcalctool-5.23.5/gcalctool/gtk.c.icon-name gcalctool-5.23.5/gcalctool/gtk.c
--- gcalctool-5.23.5/gcalctool/gtk.c.icon-name	2008-07-27 23:58:42.000000000 -0400
+++ gcalctool-5.23.5/gcalctool/gtk.c	2008-07-27 23:59:37.000000000 -0400
@@ -1183,7 +1183,7 @@ about_cb(GtkWidget *widget)
             "authors", authors,
             "documenters", documenters,
             "translator_credits", translator_credits,
-            "logo-icon-name", "gnome-calculator",
+            "logo-icon-name", "accessories-calculator",
             NULL);
 }
 
@@ -2885,7 +2885,7 @@ ui_init(int *argc, char ***argv)
     v->home = (char *) g_get_home_dir();
     gtk_rc_parse(g_build_path(v->home, RCNAME, NULL));
 
-    gtk_window_set_default_icon_name("gnome-calculator");
+    gtk_window_set_default_icon_name("accessories-calculator");
 }
 
 


Index: gcalctool.spec
===================================================================
RCS file: /cvs/extras/rpms/gcalctool/devel/gcalctool.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- gcalctool.spec	22 Jul 2008 05:10:29 -0000	1.68
+++ gcalctool.spec	28 Jul 2008 04:06:43 -0000	1.69
@@ -1,6 +1,6 @@
 Name:           gcalctool
 Version:        5.23.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A desktop calculator
 
 Group:          Applications/System
@@ -30,6 +30,9 @@
 
 Requires: GConf2
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=545074
+Patch0: icon-names.patch
+
 %description
 gcalctool is a powerful graphical calculator with financial, logical and 
 scientific modes. It uses a multiple precision package to do its arithmetic 
@@ -37,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .icon-names
 
 
 %build
@@ -100,6 +104,9 @@
 
 
 %changelog
+* Mon Jul 28 2008 Matthias Clasen <mclasen at redhat.com> - 5.23.5-2
+- Use standard icon names
+
 * Tue Jul 22 2008 Matthias Clasen <mclasen at redhat.com> - 5.23.5-1
 - Update to 5.23.5
 




More information about the fedora-extras-commits mailing list