Revision: 1666
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1666&view=rev
Author:   nadvornik
Date:     2009-04-26 11:38:28 +0000 (Sun, 26 Apr 2009)

Log Message:
-----------
small fixes

Modified Paths:
--------------
    trunk/src/desktop_file.c

Modified: trunk/src/desktop_file.c
===================================================================
--- trunk/src/desktop_file.c    2009-04-26 09:25:52 UTC (rev 1665)
+++ trunk/src/desktop_file.c    2009-04-26 11:38:28 UTC (rev 1666)
@@ -113,6 +113,9 @@
                {
                editor_window_save(ew);
                }
+
+       gtk_widget_set_sensitive(ew->save_button, FALSE);
+       ew->modified = FALSE;
 }
 
 static void editor_window_text_modified_cb(GtkWidget *widget, gpointer data)
@@ -205,7 +208,7 @@
        gtk_widget_show(ew->save_button);
        ct_button = ew->save_button;
 
-       button = pref_button_new(NULL, GTK_STOCK_CANCEL, NULL, FALSE,
+       button = pref_button_new(NULL, GTK_STOCK_CLOSE, NULL, FALSE,
                                 G_CALLBACK(editor_window_close_cb), ew);
        gtk_container_add(GTK_CONTAINER(button_hbox), button);
        GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to