~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to src/printing.c

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-08-07 03:23:12 UTC
  • mfrom: (1.4.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20100807032312-ot70ac9d50cn79we
Tags: upstream-0.19
ImportĀ upstreamĀ versionĀ 0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *      along with this program; if not, write to the Free Software
19
19
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
20
 *
21
 
 * $Id: printing.c 4630 2010-01-31 21:54:47Z eht16 $
 
21
 * $Id: printing.c 4518 2010-01-01 22:55:18Z eht16 $
22
22
 */
23
23
 
24
24
 
418
418
        gtk_box_pack_start(GTK_BOX(hbox10), label203, FALSE, FALSE, 0);
419
419
 
420
420
        w->entry_print_dateformat = gtk_entry_new();
421
 
        ui_entry_add_clear_icon(w->entry_print_dateformat);
 
421
        ui_entry_add_clear_icon(GTK_ENTRY(w->entry_print_dateformat));
422
422
        gtk_box_pack_start(GTK_BOX(hbox10), w->entry_print_dateformat, TRUE, TRUE, 0);
423
423
        ui_widget_set_tooltip_text(w->entry_print_dateformat, _("Specify a format for the date and time stamp which is added to the page header on each page. You can use any conversion specifiers which can be used with the ANSI C strftime function."));
424
424
        gtk_entry_set_text(GTK_ENTRY(w->entry_print_dateformat), printing_prefs.page_header_datefmt);
778
778
{
779
779
        gchar *filename = (data != NULL) ? data : GEANY_STRING_UNTITLED;
780
780
        if (gtk_print_operation_get_status(op) == GTK_PRINT_STATUS_FINISHED_ABORTED)
781
 
                msgwin_status_add(_("Printing of file %s was cancelled."), filename);
 
781
                msgwin_status_add(_("Did not send document %s to the printing subsystem."), filename);
782
782
        else if (gtk_print_operation_get_status(op) == GTK_PRINT_STATUS_FINISHED)
783
 
                msgwin_status_add(_("File %s printed."), filename);
 
783
                msgwin_status_add(_("Document %s was sent to the printing subsystem."), filename);
784
784
}
785
785
 
786
786