Author: mjc
Date: Tue Jan 22 01:31:46 2008
New Revision: 2214
URL: http://svn.gnome.org/viewvc/gthumb?rev=2214&view=rev

Log:
2008-01-21  Michael J. Chudobiak  <[EMAIL PROTECTED]>

        * src/dlg-scripts.c: (gconf_get_script):
        Do not assign the default script text to an empty slot if the
        script name is not empty and not equal to the default name.



Modified:
   trunk/ChangeLog
   trunk/src/dlg-scripts.c

Modified: trunk/src/dlg-scripts.c
==============================================================================
--- trunk/src/dlg-scripts.c     (original)
+++ trunk/src/dlg-scripts.c     Tue Jan 22 01:31:46 2008
@@ -761,11 +761,7 @@
        } else  {
                /* There was a non-default value stored in gconf, so return it 
*/
                script_name = g_strdup (user_name);
-               /* Not sure of that : can there be a name but no command ? 
Better check... */
-               if (!strcmp (current_command, ""))
-                       script_command = g_strdup ((char*) default_command);
-               else
-                       script_command = g_strdup ((char*) current_command);
+               script_command = g_strdup ((char*) current_command);
        }
 
        g_free (user_name);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to