Author: aschnell Date: Fri Jan 23 16:38:30 2009 New Revision: 54951 URL: http://svn.opensuse.org/viewcvs/yast?rev=54951&view=rev Log: - use new method for disabling desktop automounters since GNOME just removed the old method without any notification whatsoever (bnc #464453) Modified: branches/SuSE-Code-11-Branch/storage/VERSION branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in Modified: branches/SuSE-Code-11-Branch/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/VERSION?rev=54951&r1=54950&r2=54951&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/VERSION (original) +++ branches/SuSE-Code-11-Branch/storage/VERSION Fri Jan 23 16:38:30 2009 @@ -1 +1 @@ -2.17.67 +2.17.68 Modified: branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes?rev=54951&r1=54950&r2=54951&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes Fri Jan 23 16:38:30 2009 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Jan 23 15:16:27 CET 2009 - aschnell@suse.de + +- use new method for disabling desktop automounters since GNOME + just removed the old method without any notification whatsoever + (bnc #464453) +- 2.17.68 + +------------------------------------------------------------------- Mon Jan 19 11:32:44 CET 2009 - aschnell@suse.de - wait for udev after activating dmraid (bnc #459032) @@ -7,7 +15,7 @@ ------------------------------------------------------------------- Fri Jan 16 16:37:04 CET 2009 - kmachalkova@suse.cz -- Equal length of passwd input fields (#465367) +- Equal length of passwd input fields (#465367) ------------------------------------------------------------------- Thu Jan 08 12:28:35 CET 2009 - aschnell@suse.de @@ -25,11 +33,11 @@ ------------------------------------------------------------------- Thu Dec 18 11:13:48 CET 2008 - kmachalkova@suse.cz -- Usability improvements (added F-key bindings, focusing convenient +- Usability improvements (added F-key bindings, focusing convenient widgets where appropriate, pointing out widgets with invalid data) - Suggest max size for extended partitions, custom size/region for - the rest (bnc#428337) -- Enforce specifying mountpoint if the user wants to mount the + the rest (bnc#428337) +- Enforce specifying mountpoint if the user wants to mount the partition (bnc#441130) ------------------------------------------------------------------- @@ -56,7 +64,7 @@ ------------------------------------------------------------------- Thu Dec 11 16:19:03 CET 2008 - kmachalkova@suse.cz -- If the test mount of NFS share fails, ask the user whether to +- If the test mount of NFS share fails, ask the user whether to save it anyway to allow correcting possible errors (bnc#450060) - Handle NFS share renaming (changing name of NFS server) Modified: branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp?rev=54951&r1=54950&r2=54951&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp (original) +++ branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp Fri Jan 23 16:38:30 2009 @@ -6371,17 +6371,17 @@ y2milestone( "AddHwPackage list:%1", hw_packages ); } -global void SwitchUiAutomounter( boolean on ) - { - y2milestone( "SwitchUiAutomounter on:%1", on ); - string cmd = "hal-set-property " + - "--udi /org/freedesktop/Hal/devices/computer " + - "--key storage.disable_volume_handling --bool "; - cmd = cmd + (on?"true":"false" ); - y2milestone( "SwitchUiAutomounter cmd %1", cmd ); - SCR::Execute( .target.bash, cmd ); - y2milestone( "SwitchUiAutomounter exit" ); - } + +global void SwitchUiAutomounter(boolean on) +{ + y2milestone("SwitchUiAutomounter off:%1", on); + if (!on) + SCR::Execute(.hal.acquire_global_interface_lock, "org.freedesktop.Hal.Device.Storage", true); + else + SCR::Execute(.hal.release_global_interface_lock, "org.freedesktop.Hal.Device.Storage"); + y2milestone("SwitchUiAutomounter exit"); +} + global void DumpObjectList() { Modified: branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in?rev=54951&r1=54950&r2=54951&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in (original) +++ branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in Fri Jan 23 16:38:30 2009 @@ -4,7 +4,7 @@ @HEADER@ BuildRequires: blocxx-devel boost-devel gcc-c++ libxcrypt-devel openssl-devel sablot swig docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite yast2-perl-bindings Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools kpartx cryptsetup -Requires: yast2-core >= 2.17.10 +Requires: yast2-core >= 2.17.27 Requires: yast2 >= 2.17.45 Requires: yast2-libyui >= 2.17.5 %ifarch s390 s390x -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org