/[xlog]/xlog/src/callbacks_printdialog.c
ViewVC logotype

Diff of /xlog/src/callbacks_printdialog.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by pa4tu, Fri Oct 10 18:58:06 2003 UTC revision 1.9 by pa4tu, Fri Oct 10 19:25:11 2003 UTC
# Line 269  on_printokbutton_clicked (GtkButton * bu Line 269  on_printokbutton_clicked (GtkButton * bu
269      lastcol = 18;      lastcol = 18;
270      remarksok = TRUE;      remarksok = TRUE;
271    }    }
272      
273      if (lastcol == 0)
274      {
275        update_statusbar (_("No columns selected, printing cancelled..."));
276        gtk_widget_set_sensitive (mainwindow, 1);
277        gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (button)));
278        return;
279      }
280    
281    /* save settings of the print dialog */    /* save settings of the print dialog */
282    if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (printallradiobutton)))    if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (printallradiobutton)))
283      preferences.printall = 0;      preferences.printall = 0;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26