[Glade-devel] Fix for annoyingly small font for the GladePalette window.



Hey

Following patch fixes the annoyingly small font for the GladePalette container
window. 

Again I'm completely unsure if this one is safe to commit without permission
so I took the safe path.

Cheers
Archit

-- 
Homepage: http://puggy.symonds.net/~bighead/
Projects:
        http://peacock.sourceforge.net/
        http://ore.rubyforge.net/


===File ~/Projects/glade-3-palette-title-font-fix.diff======
? autom4te-2.53.cache
? bah
? bah.glade3
? stamp-h1
? test.glade
? test.glade3
? src/bah
? src/bah.glade3
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glade3/ChangeLog,v
retrieving revision 1.295
diff -u -r1.295 ChangeLog
--- ChangeLog   21 May 2004 20:17:18 -0000      1.295
+++ ChangeLog   21 May 2004 20:31:05 -0000
@@ -1,3 +1,9 @@
+2004-05-21  Archit Baweja  <bighead users sourceforge net>
+
+       * src/glade-project-window.c (gpw_create_palette): remove call to
+       gtk_window_set_type_hint. It caused the palette window to have an 
+       annoyingly small font for its title.
+
 2004-05-21  Shane Butler  <shane_b users sourceforge net>
 
        * src/glade-widget.c (glade_widget_write_child): don't save empty packing tag.
Index: src/glade-project-window.c
===================================================================
RCS file: /cvs/gnome/glade3/src/glade-project-window.c,v
retrieving revision 1.78
diff -u -r1.78 glade-project-window.c
--- src/glade-project-window.c  16 May 2004 19:40:04 -0000      1.78
+++ src/glade-project-window.c  21 May 2004 20:31:06 -0000
@@ -558,7 +558,6 @@
        gpw->palette = glade_palette_new (gpw->catalogs);
 
        gtk_window_set_title (gpw->palette_window, _("Palette"));
-       gtk_window_set_type_hint (gpw->palette_window, GDK_WINDOW_TYPE_HINT_UTILITY);
        gtk_window_set_resizable (gpw->palette_window, TRUE);
        gtk_window_move (gpw->palette_window, 0, 250);
 
============================================================




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