/* Private globals. */
/*========================================================*/
-static GtkDialogClass* parent_class = NULL;
+static glHigDialogClass* parent_class = NULL;
/*========================================================*/
/* Private function prototypes. */
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);
}
#include <gtk/gtk.h>
#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))
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__ */
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);
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);