summaryrefslogtreecommitdiff
path: root/src/calendar.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-09 18:07:04 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-09 18:07:04 +0000
commitcd4e438bfb3ebfd3cc872e203e343a50acc02a15 (patch)
treeaddb42a9253fbc3b768a48922eebe1c73421f3a4 /src/calendar.c
parentFix up the response signal handlers. Use returns of 0 for 'Ok' and (diff)
downloadzenity-cd4e438bfb3ebfd3cc872e203e343a50acc02a15.tar.gz
zenity-cd4e438bfb3ebfd3cc872e203e343a50acc02a15.tar.bz2
zenity-cd4e438bfb3ebfd3cc872e203e343a50acc02a15.zip
Fix up the date string, although I guess this should be localized.
2003-01-09 Glynn Foster <glynn.foster@sun.com> * src/calendar.c: Fix up the date string, although I guess this should be localized. * src/main.c: Add a new --pulsate option, which reads from stdin and pulsates the progress bar until we reach EOF. * src/progress.c: Rewrite to actually work. Don't really need GIOChannels here. * TODO: Updated accordingly.
Diffstat (limited to 'src/calendar.c')
-rw-r--r--src/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendar.c b/src/calendar.c
index df5d35c1..4d521be2 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -86,7 +86,7 @@ zenity_calendar_dialog_response (GtkWidget *widget, int response, gpointer data)
switch (response) {
case GTK_RESPONSE_OK:
gtk_calendar_get_date (GTK_CALENDAR (calendar), &day, &month, &year);
- g_printerr ("%02d/%02d/%02d\n", day, month + 1, year);
+ g_printerr ("%02d/%02d/%02d\n", year, month + 1, day);
zen_data->exit_code = 0;
gtk_main_quit ();
break;
bgstack15