[gnome-love]Patch and a question



Well here is my first patch! This fixes a todo about gcalc and resizing
the buttons. This required a change to gnome-libs as well as gcalc. My
queston is what is the proper way to do the diffs? I did the patches
against gnome-libs-1.2.13 and gnome-utils-1.4.0. I understand that it is
probably better to do a cvs diff. I know that gnome-libs has a stable
branch, but how do I find what is the name of that branch ( or in
general any branch )? Is there a way to do a cvs diff without
downloading the whole branch? Can I take my local file from
gnome-libs-1.2.13 and do a diff with the CVS file. I'm on a modem here
so I don't feel like downloading the gnome-libs source from CVS at the
moment. Thanks for the help!

Regards,
Kevin

diff -u gnome-utils-1.4.0.old/gcalc/ChangeLog
gnome-utils-1.4.0.new/gcalc/ChangeLog
--- gnome-utils-1.4.0.old/gcalc/ChangeLog       Tue Feb 20 23:08:34 2001
+++ gnome-utils-1.4.0.new/gcalc/ChangeLog       Wed May 16 16:39:37 2001
@@ -1,3 +1,8 @@
+2001-05-16 Kevin Vandersloot <kfv101 psu edu>
+
+       * gcalc.c : don't allow window to be sized smaller than default
+                   so buttons don't get too small 
+
 2001-02-20 John Fleck <jfleck inkstain net>
 
        * update bugzilla reference in doc/C/gcalc.sgml and it/gcalc.sgml
diff -u gnome-utils-1.4.0.old/gcalc/gcalc.c
gnome-utils-1.4.0.new/gcalc/gcalc.c
--- gnome-utils-1.4.0.old/gcalc/gcalc.c Fri May  5 01:36:20 2000
+++ gnome-utils-1.4.0.new/gcalc/gcalc.c Wed May 16 16:35:40 2001
@@ -132,11 +132,10 @@
        gnome_window_icon_set_default_from_file
(GNOME_ICONDIR"/gnome-calc2.png");
         app=gnome_app_new("gcalc", _("Gnome Calculator"));
        gtk_window_set_wmclass (GTK_WINDOW (app), "gcalc", "gcalc");
-       gtk_window_set_policy (GTK_WINDOW (app), TRUE, FALSE, TRUE);
+       gtk_window_set_policy (GTK_WINDOW (app), FALSE, TRUE, FALSE);
 
         gtk_signal_connect(GTK_OBJECT(app), "delete_event",
                GTK_SIGNAL_FUNC(quit_cb), NULL);
-        gtk_window_set_policy(GTK_WINDOW(app),1,1,0);
 
        /*set up the menu*/
         gnome_app_create_menus(GNOME_APP(app), gcalc_menu);



diff -u gnome-libs-1.2.13/libgnomeui/ChangeLog
gnome-libs-1.2.13.new/libgnomeui/ChangeLog
--- gnome-libs-1.2.13/libgnomeui/ChangeLog      Wed May 16 17:11:31 2001
+++ gnome-libs-1.2.13.new/libgnomeui/ChangeLog  Wed May 16 17:15:33 2001
@@ -1,3 +1,8 @@
+2001-05-16  Kevin Vandersloot <kfv101 psu edu>
+
+       * gnome-calculator.c (gnome_calculator_init): allow buttons to 
+         expand in vertical direction.
+
 2001-02-22  Gediminas Paulauskas <menesis delfi lt>
 
        * gnome-property-entries.c: use _() instead of gettext().
diff -u gnome-libs-1.2.13/libgnomeui/gnome-calculator.c
gnome-libs-1.2.13.new/libgnomeui/gnome-calculator.c
--- gnome-libs-1.2.13/libgnomeui/gnome-calculator.c     Sat Jun 17 12:53:48
2000
+++ gnome-libs-1.2.13.new/libgnomeui/gnome-calculator.c Fri May 11
17:14:47 2001
@@ -1308,7 +1308,7 @@
                                                 x,x+1,y,y+1,
                                                 GTK_FILL | GTK_EXPAND |
                                                        GTK_SHRINK,
-                                                0, 2, 2);
+                                                GTK_FILL | GTK_EXPAND, 2, 2);
                        }
                }
        }






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]