Revision: 2057
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2057&view=rev
Author:   jcsjcs
Date:     2008-07-19 14:03:36 +0000 (Sat, 19 Jul 2008)

Log Message:
-----------
        * src/confirmation.c (gtkpod_confirmation): initialize
          <scrolled> variable. Thanks to Andrea.

Modified Paths:
--------------
    gtkpod/trunk/ChangeLog
    gtkpod/trunk/src/confirmation.c

Modified: gtkpod/trunk/ChangeLog
===================================================================
--- gtkpod/trunk/ChangeLog      2008-07-19 13:54:01 UTC (rev 2056)
+++ gtkpod/trunk/ChangeLog      2008-07-19 14:03:36 UTC (rev 2057)
@@ -1,5 +1,10 @@
 2008-07-19 Jorg Schuler <jcsjcs at users.sourceforge.net>
 
+       * src/confirmation.c (gtkpod_confirmation): initialize
+          <scrolled> variable. Thanks to Andrea.
+
+2008-07-19 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
        * src/display_playlists.c (pm_add_child): when adding
           playlists to the end, don't add behind the Photo item.
 

Modified: gtkpod/trunk/src/confirmation.c
===================================================================
--- gtkpod/trunk/src/confirmation.c     2008-07-19 13:54:01 UTC (rev 2056)
+++ gtkpod/trunk/src/confirmation.c     2008-07-19 14:03:36 UTC (rev 2057)
@@ -372,7 +372,7 @@
        glade_xml_signal_autoconnect (confirm_xml);
        
     /* insert ID into hash table */
-    cd = g_new (ConfData, 1);
+    cd = g_new0 (ConfData, 1);
     cd->window = window;
     cd->window_xml = confirm_xml;
     cd->option1_key = g_strdup(option1_key);
@@ -426,12 +426,13 @@
 
     gtk_tree_view_append_column (GTK_TREE_VIEW (w), column);
 
-       if (text)
+    if (text)
     {
                confirm_append_text (cd->window_xml, text);
+               cd->scrolled = TRUE;
                defx = prefs_get_int("size_conf_sw.x");
                defy = prefs_get_int("size_conf_sw.y");
-       }
+    }
     else
     {
                /* no text -> hide widget */


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to