rpms/geany/F-10 geany-0.17-button-pixmaps.patch, NONE, 1.1 geany.spec, 1.22, 1.23

Jonathan G. Underwood jgu at fedoraproject.org
Sat Jun 20 17:38:06 UTC 2009


Author: jgu

Update of /cvs/extras/rpms/geany/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24621

Modified Files:
	geany.spec 
Added Files:
	geany-0.17-button-pixmaps.patch 
Log Message:
Sync spec file with F-11 branch. Add patch to fix the button pixmaps.


geany-0.17-button-pixmaps.patch:

--- NEW FILE geany-0.17-button-pixmaps.patch ---
diff -up geany-0.17/src/main.c.button-pixmaps geany-0.17/src/main.c
--- geany-0.17/src/main.c.button-pixmaps	2009-06-20 18:10:04.000000000 +0100
+++ geany-0.17/src/main.c	2009-06-20 18:11:07.000000000 +0100
@@ -274,6 +274,8 @@ static void main_init(void)
 	ui_prefs.recent_projects_queue		= g_queue_new();
 	main_status.opening_session_files	= FALSE;
 
+	ui_init_stock_items();
+
 	main_widgets.window = create_window1();
 	/* add recent files to the File menu */
 	ui_widgets.recent_files_menuitem = ui_lookup_widget(main_widgets.window, "recent_files1");
diff -up geany-0.17/src/ui_utils.c.button-pixmaps geany-0.17/src/ui_utils.c
--- geany-0.17/src/ui_utils.c.button-pixmaps	2009-06-20 18:11:22.000000000 +0100
+++ geany-0.17/src/ui_utils.c	2009-06-20 18:13:08.000000000 +0100
@@ -1771,7 +1771,7 @@ static void create_config_files_menu(voi
 }
 
 
-static void add_stock_items(void)
+void ui_init_stock_items(void)
 {
 	GtkIconSet *icon_set;
 	GtkIconFactory *factory = gtk_icon_factory_new();
@@ -1803,8 +1803,6 @@ static void add_stock_items(void)
 
 void ui_init(void)
 {
-	add_stock_items();
-
 	ui_widgets.statusbar = ui_lookup_widget(main_widgets.window, "statusbar");
 	ui_widgets.print_page_setup = ui_lookup_widget(main_widgets.window, "page_setup1");
 
diff -up geany-0.17/src/ui_utils.h.button-pixmaps geany-0.17/src/ui_utils.h
--- geany-0.17/src/ui_utils.h.button-pixmaps	2009-06-20 18:13:37.000000000 +0100
+++ geany-0.17/src/ui_utils.h	2009-06-20 18:16:12.000000000 +0100
@@ -205,6 +205,8 @@ void ui_entry_add_clear_icon(GtkWidget *
 
 void ui_init(void);
 
+void ui_init_stock_items(void);
+
 void ui_add_config_file_menu_item(const gchar *real_path, const gchar *label,
 		GtkContainer *parent);
 


Index: geany.spec
===================================================================
RCS file: /cvs/extras/rpms/geany/F-10/geany.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- geany.spec	19 Jun 2009 23:49:27 -0000	1.22
+++ geany.spec	20 Jun 2009 17:37:35 -0000	1.23
@@ -1,6 +1,6 @@
 Name:      geany
 Version:   0.17
-Release:   2%{?dist}
+Release:   6%{?dist}
 Summary:   A fast and lightweight IDE using GTK2
 
 Group:     Development/Tools
@@ -17,7 +17,7 @@ Source5:   http://download.geany.org/con
 Source6:   http://download.geany.org/contrib/tags/standard.css.tags
 
 # Patch to add a tango icon for the Save All button. Already upstream
-Patch0:    save-all-tango.patch
+Patch0:    geany-0.17-button-pixmaps.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -96,6 +96,20 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/geany.pc
 
 %changelog
+* Sat Jun 20 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.17-6
+- Add new patch to fix button pixmaps
+- Remove debug patch and previous patch to fix button pixmaps
+- Remove tango icon patch
+
+* Sat Jun 20 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.17-5
+- Fix spec file typo
+
+* Sat Jun 20 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.17-4
+- Add patch to output debugging message
+
+* Sat Jun 20 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.17-3
+- Add patch to fix missing button pixmaps
+
 * Fri Jun 19 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.17-2
 - Add patch to give a tango Save All button
 




More information about the fedora-extras-commits mailing list