[Glade-devel] A small patch for glade-3



--Boundary_(ID_RkmPgjM9t7CjBIwuKWhvBw)
Content-type: text/plain
Content-transfer-encoding: 7BIT

Hey all

A small little patch to get things started. Three things

1) A small fix in autogen.sh for me to build on debian.
2) A small fix for the main window's title.
3) Added GtkFileChooserDialog to the catalog gtk-dialogs.xml

Please review. I can commit once I get the nod.

Cheers!
Archit

--Boundary_(ID_RkmPgjM9t7CjBIwuKWhvBw)
Content-type: text/x-patch; name=glade-3-3-small-patches.diff; charset=UTF-8
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=glade-3-3-small-patches.diff

? depcomp
? install-sh
? stamp-h1
? test.glade3
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glade3/ChangeLog,v
retrieving revision 1.324
diff -u -r1.324 ChangeLog
--- ChangeLog   12 Dec 2004 02:15:16 -0000      1.324
+++ ChangeLog   16 Dec 2004 09:03:24 -0000
@@ -1,3 +1,10 @@
+2004-12-16  Archit Baweja  <bighead users sourceforge net>
+
+       * widgets/gtk-dialogs.xml: added entry for GtkFileChooserDialog
+
+       * src/glade-project-window.c (gpw_refresh_title): small gui fix. Use
+       Glade-3 GUI Builder as window title.
+
 2004-12-12  Gustavo Noronha Silva  <kov debian org>
 
        * glade-3.desktop.in:
Index: autogen.sh
===================================================================
RCS file: /cvs/gnome/glade3/autogen.sh,v
retrieving revision 1.4
diff -u -r1.4 autogen.sh
--- autogen.sh  3 Nov 2004 05:30:27 -0000       1.4
+++ autogen.sh  16 Dec 2004 09:03:24 -0000
@@ -39,7 +39,7 @@
   exit 1
 fi
 
-automake_version=
+automake_version=1.7
 case `uname` in
 CYGWIN*)
   # automake 1.4 of cygwin does not define EGREP in libtool.m4, and
Index: src/glade-project-window.c
===================================================================
RCS file: /cvs/gnome/glade3/src/glade-project-window.c,v
retrieving revision 1.87
diff -u -r1.87 glade-project-window.c
--- src/glade-project-window.c  18 Nov 2004 06:14:01 -0000      1.87
+++ src/glade-project-window.c  16 Dec 2004 09:03:26 -0000
@@ -46,15 +46,17 @@
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtkstock.h>
 
+const gchar *WINDOW_TITLE = "Glade-3 GUI Builder";
+
 static void
 gpw_refresh_title (GladeProjectWindow *gpw)
 {
        gchar *title;
 
        if (gpw->active_project)
-               title = g_strdup_printf ("glade3 - %s", gpw->active_project->name);
+               title = g_strdup_printf ("%s - %s", WINDOW_TITLE, gpw->active_project->name);
        else
-               title = g_strdup_printf ("glade3");
+               title = g_strdup_printf ("%s", WINDOW_TITLE);
 
        gtk_window_set_title (GTK_WINDOW (gpw->window), title);
        g_free (title);
Index: widgets/gtk-dialogs.xml
===================================================================
RCS file: /cvs/gnome/glade3/widgets/gtk-dialogs.xml,v
retrieving revision 1.2
diff -u -r1.2 gtk-dialogs.xml
--- widgets/gtk-dialogs.xml     7 Feb 2004 13:07:35 -0000       1.2
+++ widgets/gtk-dialogs.xml     16 Dec 2004 09:03:26 -0000
@@ -2,6 +2,7 @@
 
   <GladeWidget name="GtkColorSelectionDialog" generic_name="colorselectiondialog" palette_name="Color 
Selection Dialog"/>
   <GladeWidget name="GtkFileSelection" generic_name="fileselection" palette_name="File Selection"/>
+  <GladeWidget name="GtkFileChooserDialog" generic_name="filechooserdialog" palette_name="File Chooser 
Dialog"/>
   <GladeWidget name="GtkFontSelectionDialog" generic_name="fontselectiondialog" palette_name="Font Selection 
Dialog"/>
   <GladeWidget name="GtkInputDialog" generic_name="inputdialog" palette_name="Input Dialog"/>
   <GladeWidget name="GtkMessageDialog" generic_name="messagedialog" filename="gtkmessagedialog.xml" 
palette_name="Message Dialog"/>

--Boundary_(ID_RkmPgjM9t7CjBIwuKWhvBw)--




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