aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog2
-rw-r--r--calendar/gui/main.c3
-rw-r--r--calendar/main.c3
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);