[gcalctool] Don't make window resizable, it is not supposed to be



commit 1b6a8bf3ffe3808ac07e0c15f39ed517d68dacac
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Oct 20 10:10:09 2010 +1100

    Don't make window resizable, it is not supposed to be

 NEWS              |    1 +
 src/math-window.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 4ac05d3..d8dfdb6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 Overview of changes in gcalctool 5.91.2
 
     * Fix broken thousands separators code (Bug #628908)
+    * Don't make window resizable, it is not supposed to be
 
 Overview of changes in gcalctool 5.91.1
 
diff --git a/src/math-window.c b/src/math-window.c
index cad8bee..ce62d6f 100644
--- a/src/math-window.c
+++ b/src/math-window.c
@@ -523,7 +523,7 @@ math_window_init(MathWindow *window)
                          _("Calculator"));
     gtk_window_set_icon_name(GTK_WINDOW(window), "accessories-calculator");
     gtk_window_set_role(GTK_WINDOW(window), "gcalctool");
-    gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+    gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
     g_signal_connect_after(G_OBJECT(window), "key-press-event", G_CALLBACK(key_press_cb), NULL);
     g_signal_connect(G_OBJECT(window), "delete-event", G_CALLBACK(delete_cb), NULL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]