From: Jim Evins Date: Fri, 27 Dec 2002 06:35:55 +0000 (+0000) Subject: Window title cleanup. X-Git-Tag: glabels-2_3_0~664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=538b382224f845af298b3559bcfa229f410625ac;p=glabels Window title cleanup. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@223 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/prefs-dialog.c b/glabels2/src/prefs-dialog.c index e9abc340..3466ca90 100644 --- a/glabels2/src/prefs-dialog.c +++ b/glabels2/src/prefs-dialog.c @@ -73,7 +73,7 @@ struct _glPrefsDialogPrivate /* Private globals. */ /*========================================================*/ -static GtkDialogClass* parent_class = NULL; +static glHigDialogClass* parent_class = NULL; /*========================================================*/ /* Private function prototypes. */ @@ -226,7 +226,7 @@ gl_prefs_dialog_construct (glPrefsDialog *dlg) gtk_widget_show_all (GTK_DIALOG (dlg)->vbox); gtk_window_set_modal (GTK_WINDOW (dlg), TRUE); - gtk_window_set_title (GTK_WINDOW (dlg), _("Preferences")); + gtk_window_set_title (GTK_WINDOW (dlg), _("gLabels Preferences")); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); } diff --git a/glabels2/src/prefs-dialog.h b/glabels2/src/prefs-dialog.h index bb21ba18..04383f01 100644 --- a/glabels2/src/prefs-dialog.h +++ b/glabels2/src/prefs-dialog.h @@ -26,6 +26,8 @@ #include #include "hig.h" +G_BEGIN_DECLS + #define GL_TYPE_PREFS_DIALOG (gl_prefs_dialog_get_type ()) #define GL_PREFS_DIALOG(obj) (GTK_CHECK_CAST ((obj), GL_TYPE_PREFS_DIALOG, glPrefsDialog)) #define GL_PREFS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GL_TYPE_PREFS_DIALOG, glPrefsDialogClass)) @@ -54,6 +56,8 @@ struct _glPrefsDialogClass GtkType gl_prefs_dialog_get_type (void) G_GNUC_CONST; -GtkWidget* gl_prefs_dialog_new (GtkWindow *parent); +GtkWidget *gl_prefs_dialog_new (GtkWindow *parent); + +G_END_DECLS #endif /* __PREFS_DIALOG_H__ */ diff --git a/glabels2/src/window.c b/glabels2/src/window.c index 7522803d..0c048208 100644 --- a/glabels2/src/window.c +++ b/glabels2/src/window.c @@ -231,7 +231,7 @@ gl_window_new (void) window = g_object_new (gl_window_get_type (), "win_name", "glabels", - "title", _("(none) - glabels"), + "title", _("(none) - gLabels"), NULL); gl_debug (DEBUG_WINDOW, "window=%p", window); @@ -395,10 +395,10 @@ set_window_title (glWindow *window, g_return_if_fail (name != NULL); if (gl_label_is_modified (label)) { - title = g_strdup_printf ("%s %s - glabels", + title = g_strdup_printf ("%s %s - gLabels", name, _("(modified)")); } else { - title = g_strdup_printf ("%s - glabels", name); + title = g_strdup_printf ("%s - gLabels", name); } gtk_window_set_title (GTK_WINDOW(window), title);