Added GtkFileChooserDialog to gtk-dialogs.xml. Moved GtkFileSelection to gtk-obsolete.xml. Small main window title fix.

This commit is contained in:
Archit Baweja 2004-12-16 21:24:02 +00:00
parent 9e92fc22e6
commit b7f09c2754
5 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2004-12-16 Archit Baweja <bighead@users.sourceforge.net>
* widgets/gtk-obsolete.xml: added entry for GtkFileSelection
* widgets/gtk-dialogs.xml: added entry for GtkFileChooserDialog
removed entry for GtkFileSelection.
* 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:

View File

@ -39,7 +39,7 @@ if test -z "$gnome_autogen" ; then
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

View File

@ -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);

View File

@ -1,7 +1,7 @@
<GladeCatalog Title="Gtk+ Standard Dialogs" library="gladegtk">
<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"/>

View File

@ -10,4 +10,6 @@
<GladeWidget name="GtkCurve" generic_name="curve" palette_name="Curve"/>
<GladeWidget name="GtkGammaCurve" generic_name="gammacurve" palette_name="Gamma Curve"/>
<GladeWidget name="GtkFileSelection" generic_name="fileselection" palette_name="File Selection"/>
</GladeCatalog>