r11250 - in /packages/unstable/brasero/debian: changelog patches/004_fix-windows-size.patch

otavio at users.alioth.debian.org otavio at users.alioth.debian.org
Fri Jun 1 21:02:17 UTC 2007


Author: otavio
Date: Fri Jun  1 21:02:17 2007
New Revision: 11250

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11250
Log:
* Add 004_fix-windows-size.patch to fix startup window size (Closes: #425406).

Added:
    packages/unstable/brasero/debian/patches/004_fix-windows-size.patch
Modified:
    packages/unstable/brasero/debian/changelog

Modified: packages/unstable/brasero/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/brasero/debian/changelog?rev=11250&op=diff
==============================================================================
--- packages/unstable/brasero/debian/changelog (original)
+++ packages/unstable/brasero/debian/changelog Fri Jun  1 21:02:17 2007
@@ -16,6 +16,7 @@
   * Remove TODO.tasks from brasero.docs.
   * Depends on genisoimage instead of mkisofs (Closes: #406152).
   * Add a suggestions to gnome-icon-theme (Closes: #405144).
+  * Add 004_fix-windows-size.patch to fix startup window size (Closes: #425406).
 
  -- Otavio Salvador <otavio at ossystems.com.br>  Fri, 01 Jun 2007 16:50:19 -0300
 

Added: packages/unstable/brasero/debian/patches/004_fix-windows-size.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/brasero/debian/patches/004_fix-windows-size.patch?rev=11250&op=file
==============================================================================
--- packages/unstable/brasero/debian/patches/004_fix-windows-size.patch (added)
+++ packages/unstable/brasero/debian/patches/004_fix-windows-size.patch Fri Jun  1 21:02:17 2007
@@ -1,0 +1,21 @@
+--- brasero-0.5.2/src/main.c	2007-02-25 06:28:12.000000000 -0300
++++ /home/a/brasero-0.5.2/src/main.c	2007-08-01 17:55:56.000000000 -0300
+@@ -344,6 +344,7 @@
+ 	GError *error = NULL;
+ 	GtkAccelGroup *accel_group;
+ 	GtkActionGroup *action_group;
++	GtkRequisition req;
+ 
+ 	/* New window */
+ 	app = g_new0 (BraseroApp, 1);
+@@ -400,6 +401,10 @@
+ 
+ 	/* set up the window geometry */
+ 	gtk_window_set_position (GTK_WINDOW (app->mainwin), GTK_WIN_POS_CENTER);
++	gtk_widget_size_request(app->contents, &req);
++	gtk_widget_set_size_request(GTK_WIDGET (app->mainwin),
++		(req.width >= gdk_screen_width() ? 0 : req.width),
++		(req.height >= gdk_screen_height() ? 0 : req.height));
+ 
+ 	brasero_session_connect (app);
+ 




More information about the pkg-gnome-commits mailing list