diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-22 10:29:30 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-22 10:29:30 +0800 |
commit | 3b00cc74799a3b29e817b48292a391b780bb57b5 (patch) | |
tree | 200729a2afb8dbaa15624c35253ab9c5f37e382b /calendar | |
parent | 1e77e73903d1604ed8b46c9979ef2d948c46383c (diff) | |
download | gsoc2013-evolution-3b00cc74799a3b29e817b48292a391b780bb57b5.tar.gz gsoc2013-evolution-3b00cc74799a3b29e817b48292a391b780bb57b5.tar.zst gsoc2013-evolution-3b00cc74799a3b29e817b48292a391b780bb57b5.zip |
Added calls to gtk_window_set_wmclass to gnome-utils - mig
svn path=/trunk/; revision=180
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 2 | ||||
-rw-r--r-- | calendar/gui/main.c | 3 | ||||
-rw-r--r-- | calendar/main.c | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index de55fa246f..108bb0e832 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,7 @@ 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx> + * main.c (save_ok): Added call to gtk_window_set_wmclass. + * gncal-day-panel.c (calendar_day_selected): Fix, years for mktime should substract 1900 and gtk_calendar stores years relative to year 0. diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 0f70bb1cd4..77abc20866 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -222,7 +222,8 @@ save_ok (GtkWidget *widget, GtkFileSelection *fs) GnomeCalendar *gcal; gcal = GNOME_CALENDAR (gtk_object_get_user_data (GTK_OBJECT (fs))); - + gtk_window_set_wmclass (GTK_WINDOW (gcal), "gnomecal", "gnomecal"); + if (gcal->cal->filename) g_free (gcal->cal->filename); diff --git a/calendar/main.c b/calendar/main.c index 0f70bb1cd4..77abc20866 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -222,7 +222,8 @@ save_ok (GtkWidget *widget, GtkFileSelection *fs) GnomeCalendar *gcal; gcal = GNOME_CALENDAR (gtk_object_get_user_data (GTK_OBJECT (fs))); - + gtk_window_set_wmclass (GTK_WINDOW (gcal), "gnomecal", "gnomecal"); + if (gcal->cal->filename) g_free (gcal->cal->filename); |