Mercurial > geeqie
diff src/print.c @ 288:d1f74154463e
Replace occurences of Geeqie / geeqie by constants defined in main.h.
author | zas_ |
---|---|
date | Wed, 09 Apr 2008 13:53:01 +0000 |
parents | 9995c5fb202a |
children | 4b2d7f9af171 |
line wrap: on
line diff
--- a/src/print.c Tue Apr 08 23:41:01 2008 +0000 +++ b/src/print.c Wed Apr 09 13:53:01 2008 +0000 @@ -1097,7 +1097,7 @@ /* comments, etc. */ fprintf(f, "%%!PS-Adobe-3.0\n"); - fprintf(f, "%%%%Creator: Geeqie Version %s\n", VERSION); + fprintf(f, "%%%%Creator: %s Version %s\n", GQ_APPNAME, VERSION); fprintf(f, "%%%%CreationDate: \n"); fprintf(f, "%%%%LanguageLevel 2\n"); fprintf(f, "%%%%DocumentMedia: \n"); @@ -2611,9 +2611,13 @@ gtk_widget_hide(pw->dialog->dialog); - pw->job_dialog = file_util_gen_dlg(_("Print - Geeqie"), GQ_WMCLASS, "print_job_dialog", + { + gchar *title = g_strdup_printf("%s - %s", _("Print"), GQ_APPNAME); + pw->job_dialog = file_util_gen_dlg(title, GQ_WMCLASS, "print_job_dialog", (GtkWidget *)gtk_window_get_transient_for(GTK_WINDOW(pw->dialog->dialog)), FALSE, print_job_cancel_cb, pw); + g_free(title); + } msg = g_strdup_printf(_("Printing %d pages to %s."), print_layout_page_count(pw), print_output_name(pw->output)); generic_dialog_add_message(pw->job_dialog, NULL, msg, NULL); @@ -3367,9 +3371,13 @@ pw->save_settings = print_pref_int(PRINT_PREF_SAVE, TRUE); - pw->dialog = file_util_gen_dlg(_("Print - Geeqie"), GQ_WMCLASS, "print_dialog", + { + gchar *title = g_strdup_printf("%s - %s", _("Print"), GQ_APPNAME); + pw->dialog = file_util_gen_dlg(title, GQ_WMCLASS, "print_dialog", parent, FALSE, print_window_cancel_cb, pw); + g_free(title); + } geometry.min_width = 32; geometry.min_height = 32;