[Utopia] Small patch to make autobrowse work in g-v-m CVS head



Hi Jeffrey, hi list!

autobrowsing works fine in 1.4.0, but is broken in 1.5.3 and CVS head
because of a bug that looks like a simple typo: gvm_autorun() starts
with

        gboolean autobrowse = FALSE;

and has

        if (config.autobrowse && autobrowse)
                gvm_run_command (NAUTILUS_COMMAND, udi, device, mount_point);

at the end, but never sets autobrowse to TRUE (only to false in one
case). So this simple patch makes it work again in a sensible manner:

--- gnome-volume-manager-1.5.3-old/src/manager.c        2005-10-19 11:22:02.000000000 +0200
+++ gnome-volume-manager-1.5.3/src/manager.c    2005-10-19 11:22:25.000000000 +0200
@@ -1069,7 +1069,7 @@
 static void
 gvm_autorun (const char *udi, const char *device, const char *mount_point)
 {
-       gboolean autobrowse = FALSE;
+       gboolean autobrowse = TRUE;
        GvmPromptCtx *ctx;

        if (gvm_check_dvd (udi, device, mount_point))

Thanks for considering,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature



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