diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 13:30:51 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 13:30:51 +0800 |
commit | a6888a2a213b49d671bf658e58428d9a1d342f66 (patch) | |
tree | 73b4b8892d2a32df0f24d16b19046bc481baf971 /sysutils/gnome-volume-manager/files | |
parent | a740241125f843ca61310f787f0eea0d5b40784f (diff) | |
download | marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.gz marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.zst marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.zip |
Remove these ports now that they have been merged into the FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10818 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-volume-manager/files')
3 files changed, 0 insertions, 1703 deletions
diff --git a/sysutils/gnome-volume-manager/files/patch-00_disable_media_handling b/sysutils/gnome-volume-manager/files/patch-00_disable_media_handling deleted file mode 100644 index 9abff24dc..000000000 --- a/sysutils/gnome-volume-manager/files/patch-00_disable_media_handling +++ /dev/null @@ -1,1460 +0,0 @@ -# Description: Disable media handling and the respective UI tabs, since nautilus does that now. -# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=509823 ---- gnome-volume-manager-2.22.1/gnome-volume-manager.schemas.in 2007-12-07 18:55:47.000000000 +0100 -+++ gnome-volume-manager.schemas.in 2008-02-29 16:30:08.000000000 +0100 -@@ -16,7 +16,7 @@ - <key>/schemas/desktop/gnome/volume_manager/automount_drives</key> - <applyto>/desktop/gnome/volume_manager/automount_drives</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Automount removable drives</short> - <long>Whether gnome-volume-manager should automatically mount -@@ -28,7 +28,7 @@ - <key>/schemas/desktop/gnome/volume_manager/automount_media</key> - <applyto>/desktop/gnome/volume_manager/automount_media</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Automount removable media</short> - <long>Whether gnome-volume-manager should automatically mount -@@ -40,7 +40,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autobrowse</key> - <applyto>/desktop/gnome/volume_manager/autobrowse</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Autorun nautilus</short> - <long>Open nautilus on removeable media insert.</long> -@@ -97,7 +97,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autoplay_cda</key> - <applyto>/desktop/gnome/volume_manager/autoplay_cda</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Play inserted audio CD's</short> - <long>Whether, when an audio CD is inserted, gnome-volume-manager -@@ -154,7 +154,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autoplay_dvd</key> - <applyto>/desktop/gnome/volume_manager/autoplay_dvd</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Play inserted video DVDs</short> - <long>Whether, when a video DVD is inserted, -@@ -177,7 +177,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autoplay_vcd</key> - <applyto>/desktop/gnome/volume_manager/autoplay_vcd</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Play inserted video VCDs</short> - <long>Whether, when a video VCD is inserted, -@@ -248,7 +248,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autoprinter</key> - <applyto>/desktop/gnome/volume_manager/autoprinter</applyto> - <type>bool</type> -- <default>true</default> -+ <default>false</default> - <locale name="C"> - <short>Run printer program</short> - <long>Whether, when a printer is connected, gnome-volume-manager should run -diff -Nur -x '*.orig' -x '*~' gnome-volume-manager-2.22.1/gnome-volume-properties.glade gnome-volume-manager-2.22.1.new/gnome-volume-properties.glade ---- gnome-volume-manager-2.22.1/gnome-volume-properties.glade 2007-12-07 18:55:47.000000000 +0100 -+++ gnome-volume-properties.glade 2008-02-29 16:30:08.000000000 +0100 -@@ -68,1197 +68,6 @@ - <property name="enable_popup">False</property> - - <child> -- <widget class="GtkVBox" id="storage_vbox"> -- <property name="border_width">12</property> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">18</property> -- -- <child> -- <widget class="GtkVBox" id="removable_drives_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkLabel" id="removable_drives_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b>Removable Storage</b></property> -- <property name="use_underline">False</property> -- <property name="use_markup">True</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="removable_drives_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkImage" id="removable_drives_image"> -- <property name="visible">True</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="removable_drives_options_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkCheckButton" id="automount_drives"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">_Mount removable drives when hot-plugged</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkCheckButton" id="automount_media"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Mount removable media when _inserted</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkCheckButton" id="autobrowse"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Browse _removable media when inserted</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkCheckButton" id="autorun"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">_Auto-run programs on new drives and media</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkCheckButton" id="autoopen"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Auto-_open files on new drives and media</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="blank_cd_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkLabel" id="blank_cd_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b>Blank CD and DVD Discs</b></property> -- <property name="use_underline">False</property> -- <property name="use_markup">True</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="blank_cd_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkImage" id="blank_cd_image"> -- <property name="visible">True</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="blank_cd_options_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkCheckButton" id="autoburn"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">_Burn a CD or DVD when a blank disc is inserted</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="autoburn_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkHBox" id="hbox73"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">0</property> -- -- <child> -- <widget class="GtkLabel" id="label32"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"> </property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="autoburn_audio_cd_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkLabel" id="label35"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Command for A_udio CDs:</property> -- <property name="use_underline">True</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="mnemonic_widget">autoburn_audio_cd_command</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GnomeFileEntry" id="autoburn_audio_cd_command_fileentry"> -- <property name="visible">True</property> -- <property name="max_saved">10</property> -- <property name="browse_dialog_title" translatable="yes">Select program to burn audio CDs</property> -- <property name="directory_entry">False</property> -- <property name="modal">False</property> -- <property name="use_filechooser">True</property> -- <property name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property> -- -- <child internal-child="entry"> -- <widget class="GtkEntry" id="autoburn_audio_cd_command"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="editable">True</property> -- <property name="visibility">True</property> -- <property name="max_length">0</property> -- <property name="text" translatable="yes"></property> -- <property name="has_frame">True</property> -- <property name="invisible_char">*</property> -- <property name="activates_default">False</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="hbox74"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">0</property> -- -- <child> -- <widget class="GtkLabel" id="label33"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"> </property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="autoburn_data_cd_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkLabel" id="label37"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Command for _Data CDs: </property> -- <property name="use_underline">True</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="mnemonic_widget">autoburn_data_cd_command</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GnomeFileEntry" id="autoburn_data_cd_command_fileentry"> -- <property name="visible">True</property> -- <property name="max_saved">10</property> -- <property name="browse_dialog_title" translatable="yes">Select program to burn data CDs</property> -- <property name="directory_entry">False</property> -- <property name="modal">False</property> -- <property name="use_filechooser">True</property> -- <property name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property> -- -- <child internal-child="entry"> -- <widget class="GtkEntry" id="autoburn_data_cd_command"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="editable">True</property> -- <property name="visibility">True</property> -- <property name="max_length">0</property> -- <property name="text" translatable="yes"></property> -- <property name="has_frame">True</property> -- <property name="invisible_char">*</property> -- <property name="activates_default">False</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">False</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="tab_expand">False</property> -- <property name="tab_fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkLabel" id="storage_tab_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Storage</property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="type">tab</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="multimedia_vbox"> -- <property name="border_width">12</property> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">18</property> -- -- <child> -- <widget class="GtkVBox" id="audio_cd_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkLabel" id="audio_cd_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b>Audio CD Discs</b></property> -- <property name="use_underline">False</property> -- <property name="use_markup">True</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="audio_cd_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkImage" id="audio_cd_image"> -- <property name="visible">True</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="audio_cd_options_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkCheckButton" id="autoplay_cda"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Play _audio CD discs when inserted</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="hbox20"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">0</property> -- -- <child> -- <widget class="GtkLabel" id="label23"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"> </property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="autoplay_cda_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkLabel" id="autoplay_cda_command_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">C_ommand:</property> -- <property name="use_underline">True</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_RIGHT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="mnemonic_widget">autoplay_cda_command</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GnomeFileEntry" id="autoplay_cda_command_fileentry"> -- <property name="visible">True</property> -- <property name="max_saved">10</property> -- <property name="browse_dialog_title" translatable="yes">Select program to play audio CDs</property> -- <property name="directory_entry">False</property> -- <property name="modal">False</property> -- <property name="use_filechooser">True</property> -- <property name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property> -- -- <child internal-child="entry"> -- <widget class="GtkEntry" id="autoplay_cda_command"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="editable">True</property> -- <property name="visibility">True</property> -- <property name="max_length">0</property> -- <property name="text" translatable="yes"></property> -- <property name="has_frame">True</property> -- <property name="invisible_char">*</property> -- <property name="activates_default">False</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">False</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="dvd_video_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkLabel" id="dvd_video_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b>Video DVD Discs</b></property> -- <property name="use_underline">False</property> -- <property name="use_markup">True</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="dvd_video_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkImage" id="dvd_video_image"> -- <property name="visible">True</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="dvd_video_options_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkCheckButton" id="autoplay_dvd"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Play _video DVD discs when inserted</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="hbox21"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">0</property> -- -- <child> -- <widget class="GtkLabel" id="label24"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"> </property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="autoplay_dvd_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkLabel" id="autoplay_dvd_command_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Comma_nd:</property> -- <property name="use_underline">True</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_RIGHT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="mnemonic_widget">autoplay_dvd_command</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GnomeFileEntry" id="autoplay_dvd_command_fileentry"> -- <property name="visible">True</property> -- <property name="max_saved">10</property> -- <property name="browse_dialog_title" translatable="yes">Select program to play DVDs</property> -- <property name="directory_entry">False</property> -- <property name="modal">False</property> -- <property name="use_filechooser">True</property> -- <property name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property> -- -- <child internal-child="entry"> -- <widget class="GtkEntry" id="autoplay_dvd_command"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="editable">True</property> -- <property name="visibility">True</property> -- <property name="max_length">0</property> -- <property name="text" translatable="yes"></property> -- <property name="has_frame">True</property> -- <property name="invisible_char">*</property> -- <property name="activates_default">False</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">False</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="ipod_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkLabel" id="ipod_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b>Portable Music Players</b></property> -- <property name="use_underline">False</property> -- <property name="use_markup">True</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="ipod_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkImage" id="ipod_image"> -- <property name="visible">True</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkVBox" id="ipod_options_vbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">6</property> -- -- <child> -- <widget class="GtkCheckButton" id="autoipod"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Play _music files when connected</property> -- <property name="use_underline">True</property> -- <property name="relief">GTK_RELIEF_NORMAL</property> -- <property name="focus_on_click">True</property> -- <property name="active">False</property> -- <property name="inconsistent">False</property> -- <property name="draw_indicator">True</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="hbox72"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">0</property> -- -- <child> -- <widget class="GtkLabel" id="label30"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"> </property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkHBox" id="autoipod_hbox"> -- <property name="visible">True</property> -- <property name="homogeneous">False</property> -- <property name="spacing">12</property> -- -- <child> -- <widget class="GtkLabel" id="autoipod_command_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Comman_d:</property> -- <property name="use_underline">True</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_RIGHT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="mnemonic_widget">autoipod_command</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- -- <child> -- <widget class="GnomeFileEntry" id="autoipod_command_fileentry"> -- <property name="visible">True</property> -- <property name="max_saved">10</property> -- <property name="browse_dialog_title" translatable="yes">Select program to play music files</property> -- <property name="directory_entry">False</property> -- <property name="modal">False</property> -- <property name="use_filechooser">True</property> -- <property name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property> -- -- <child internal-child="entry"> -- <widget class="GtkEntry" id="autoipod_command"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="editable">True</property> -- <property name="visibility">True</property> -- <property name="max_length">0</property> -- <property name="text" translatable="yes"></property> -- <property name="has_frame">True</property> -- <property name="invisible_char">*</property> -- <property name="activates_default">False</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">True</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="padding">0</property> -- <property name="expand">False</property> -- <property name="fill">True</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="tab_expand">False</property> -- <property name="tab_fill">True</property> -- </packing> -- </child> -- -- <child> -- <widget class="GtkLabel" id="multimedia_tab_label"> -- <property name="visible">True</property> -- <property name="label" translatable="yes">Multimedia</property> -- <property name="use_underline">False</property> -- <property name="use_markup">False</property> -- <property name="justify">GTK_JUSTIFY_LEFT</property> -- <property name="wrap">False</property> -- <property name="selectable">False</property> -- <property name="xalign">0.5</property> -- <property name="yalign">0.5</property> -- <property name="xpad">0</property> -- <property name="ypad">0</property> -- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> -- <property name="width_chars">-1</property> -- <property name="single_line_mode">False</property> -- <property name="angle">0</property> -- </widget> -- <packing> -- <property name="type">tab</property> -- </packing> -- </child> -- -- <child> - <widget class="GtkVBox" id="cameras_vbox"> - <property name="border_width">12</property> - <property name="visible">True</property> -diff -Nur -x '*.orig' -x '*~' gnome-volume-manager-2.22.1/src/manager.c gnome-volume-manager-2.22.1.new/src/manager.c ---- gnome-volume-manager-2.22.1/src/manager.c 2008-01-18 17:30:22.000000000 +0100 -+++ src/manager.c 2008-02-29 16:30:12.000000000 +0100 -@@ -625,6 +625,27 @@ - } - } - -+static gboolean -+filter_out_media_handling (gint key, gboolean value) -+{ -+ switch (key) { -+ case AUTOBROWSE: -+ case AUTOBURN: -+ case AUTOIPOD: -+ case AUTOMOUNT_DRIVES: -+ case AUTOMOUNT_MEDIA: -+ case AUTOOPEN: -+ case AUTOPLAY_CDA: -+ case AUTOPLAY_DVD: -+ case AUTOPLAY_VCD: -+ case AUTORUN: -+ return FALSE; -+ default: -+ return value; -+ } -+} -+ -+ - /* - * gvm_load_config - synchronize gconf => config structure - */ -@@ -644,7 +665,7 @@ - *((char **) gvm_settings[i].var) ? *((char **) gvm_settings[i].var): "NULL"); - } else if (gvm_settings[i].type == TYPE_BOOL) { - *((int *) gvm_settings[i].var) = -- gconf_client_get_bool (config.client, gvm_settings[i].key, NULL); -+ filter_out_media_handling (i, gconf_client_get_bool (config.client, gvm_settings[i].key, NULL)); - dbg ("setting[%d]: bool: %s = %d\n", i, strrchr (gvm_settings[i].key, '/') + 1, - *((int *) gvm_settings[i].var)); - } else if (gvm_settings[i].type == TYPE_FLOAT) { -@@ -693,7 +714,7 @@ - dbg ("setting changed: string: %s = %s\n", strrchr (gvm_settings[which].key, '/') + 1, - *((char **) gvm_settings[which].var)); - } else if (gvm_settings[which].type == TYPE_BOOL) { -- *((int *) gvm_settings[which].var) = gconf_value_get_bool (value); -+ *((int *) gvm_settings[which].var) = filter_out_media_handling (which, gconf_value_get_bool (value)); - dbg ("setting changed: bool: %s = %d\n", strrchr (gvm_settings[which].key, '/') + 1, - *((int *) gvm_settings[which].var)); - } else if (gvm_settings[which].type == TYPE_FLOAT) { -diff -Nur -x '*.orig' -x '*~' gnome-volume-manager-2.22.1/src/properties.c gnome-volume-manager-2.22.1.new/src/properties.c ---- gnome-volume-manager-2.22.1/src/properties.c 2007-12-07 18:55:46.000000000 +0100 -+++ src/properties.c 2008-02-29 16:30:08.000000000 +0100 -@@ -36,77 +36,24 @@ - TYPE_STRING, - } type_t; - --enum { -- AUTOBROWSE, -- AUTOBURN, -- AUTOBURN_AUDIO_CD_COMMAND, -- AUTOBURN_DATA_CD_COMMAND, -- AUTOIPOD, -- AUTOIPOD_COMMAND, -- AUTOKEYBOARD, -- AUTOKEYBOARD_COMMAND, -- AUTOMOUNT_DRIVES, -- AUTOMOUNT_MEDIA, -- AUTOMOUSE, -- AUTOMOUSE_COMMAND, -- AUTOOPEN, -- AUTOPHOTO, -- AUTOPHOTO_COMMAND, -- AUTOPILOT, -- AUTOPILOT_COMMAND, -- AUTOPLAY_CDA, -- AUTOPLAY_CDA_COMMAND, -- AUTOPLAY_DVD, -- AUTOPLAY_DVD_COMMAND, -- AUTOPOCKETPC, -- AUTOPOCKETPC_COMMAND, -- AUTOPRINTER, -- AUTOPRINTER_COMMAND, -- AUTORUN, -- AUTOSCANNER, -- AUTOSCANNER_COMMAND, -- AUTOTABLET, -- AUTOTABLET_COMMAND, -- AUTOVIDEOCAM, -- AUTOVIDEOCAM_COMMAND, -- AUTOWEBCAM, -- AUTOWEBCAM_COMMAND, -- AUTORUN_PATH, -- AUTOOPEN_PATH, --}; -- - static struct { - char *key; - type_t type; - GtkWidget *widget; - gboolean need_daemon; - } gvm_settings[] = { -- { GCONF_ROOT "autobrowse", TYPE_BOOL, NULL, TRUE }, -- { GCONF_ROOT "autoburn", TYPE_BOOL, NULL, FALSE }, -- { GCONF_ROOT "autoburn_audio_cd_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autoburn_data_cd_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autoipod", TYPE_BOOL, NULL, TRUE }, -- { GCONF_ROOT "autoipod_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autokeyboard", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autokeyboard_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "automount_drives", TYPE_BOOL, NULL, TRUE }, -- { GCONF_ROOT "automount_media", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "automouse", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "automouse_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autoopen", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autophoto", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autophoto_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autopalmsync", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autopalmsync_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autoplay_cda", TYPE_BOOL, NULL, TRUE }, -- { GCONF_ROOT "autoplay_cda_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autoplay_dvd", TYPE_BOOL, NULL, TRUE }, -- { GCONF_ROOT "autoplay_dvd_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autopocketpc", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autopocketpc_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autoprinter", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autoprinter_command", TYPE_STRING, NULL, FALSE }, -- { GCONF_ROOT "autorun", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autoscanner", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autoscanner_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autotablet", TYPE_BOOL, NULL, TRUE }, -@@ -115,9 +62,6 @@ - { GCONF_ROOT "autovideocam_command", TYPE_STRING, NULL, FALSE }, - { GCONF_ROOT "autowebcam", TYPE_BOOL, NULL, TRUE }, - { GCONF_ROOT "autowebcam_command", TYPE_STRING, NULL, FALSE }, -- /* The following entries do not (yet) have a UI */ -- /*{ GCONF_ROOT "autorun_path", TYPE_STRING, NULL, FALSE },*/ -- /*{ GCONF_ROOT "autoopen_path", TYPE_STRING, NULL, FALSE },*/ - }; - - static GHashTable *gvm_settings_hash = NULL; -@@ -151,17 +95,10 @@ - gconf_client_set_bool (gconf, key, bool, NULL); - - name = strrchr (key, '/') + 1; -- if (!strncmp (name, "automount_", 10)) { -- bool = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gvm_settings[AUTOMOUNT_MEDIA].widget)) || -- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gvm_settings[AUTOMOUNT_DRIVES].widget)); -- gtk_widget_set_sensitive (gvm_settings[AUTOOPEN].widget, bool); -- gtk_widget_set_sensitive (gvm_settings[AUTORUN].widget, bool); -- } else { -- name = g_strdup_printf ("%s_hbox", name); -- if ((hbox = glade_xml_get_widget (xml, name))) -- gtk_widget_set_sensitive (hbox, bool); -- g_free (name); -- } -+ name = g_strdup_printf ("%s_hbox", name); -+ if ((hbox = glade_xml_get_widget (xml, name))) -+ gtk_widget_set_sensitive (hbox, bool); -+ g_free (name); - } - - static void -@@ -205,11 +142,6 @@ - gboolean bool; - size_t i; - -- /* this is the only strange one */ -- bool = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gvm_settings[AUTOMOUNT_MEDIA].widget)) || -- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gvm_settings[AUTOMOUNT_DRIVES].widget)); -- gtk_widget_set_sensitive (gvm_settings[AUTORUN].widget, bool); -- - /* checkboxes can enable/disable the ability to change other settings */ - for (i = 0; i < G_N_ELEMENTS (gvm_settings); i++) { - if (gvm_settings[i].type == TYPE_BOOL) { -@@ -277,17 +209,12 @@ - const char *icon; - const char *fallback; - } icons[] = { -- { "audio_cd_image", "gnome-dev-cdrom-audio", "media-optical" }, -- { "blank_cd_image", "gnome-dev-disc-cdr", "media-optical" }, - { "digital_camera_image", "camera-photo", NULL }, -- { "dvd_video_image", "gnome-dev-dvd", "media-optical" }, -- { "ipod_image", "multimedia-player", "gnome-dev-ipod" }, - { "keyboard_image", "input-keyboard", NULL }, - { "mouse_image", "input-mouse", NULL }, - { "palm_image", "pda-palm", "palm-pilot" }, - { "pocketpc_image", "pda-pocketpc", "palm-pilot" }, - { "printer_image", "printer", NULL }, -- { "removable_drives_image", "drive-removable-media", NULL }, - { "scanner_image", "scanner", NULL }, - { "tablet_image", "input-tablet", NULL }, - { "videocam_image", "camera-video", NULL }, diff --git a/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in b/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in deleted file mode 100644 index 94af083a1..000000000 --- a/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in +++ /dev/null @@ -1,11 +0,0 @@ ---- gnome-volume-manager.schemas.in.orig Wed Jun 7 21:41:12 2006 -+++ gnome-volume-manager.schemas.in Wed Jun 7 21:41:40 2006 -@@ -227,7 +227,7 @@ - <key>/schemas/desktop/gnome/volume_manager/autoprinter_command</key> - <applyto>/desktop/gnome/volume_manager/autoprinter_command</applyto> - <type>string</type> -- <default>gnome-printer-add hal://%h</default> -+ <default>gnome-cups-add hal://%h</default> - <locale name="C"> - <short>printer command</short> - <long>Command to run when a printer is connected.</long> diff --git a/sysutils/gnome-volume-manager/files/patch-src_manager.c b/sysutils/gnome-volume-manager/files/patch-src_manager.c deleted file mode 100644 index 13e0cbf7f..000000000 --- a/sysutils/gnome-volume-manager/files/patch-src_manager.c +++ /dev/null @@ -1,232 +0,0 @@ ---- src/manager.c.orig 2006-11-07 13:01:17.000000000 -0500 -+++ src/manager.c 2007-10-17 00:14:10.000000000 -0400 -@@ -23,9 +23,12 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <dirent.h> -+#include <fcntl.h> - #include <signal.h> - #include <unistd.h> - #include <utmp.h> -+#include <sys/param.h> -+#include <sys/mount.h> - - #include <locale.h> - -@@ -1556,12 +1559,27 @@ enum { - MOUNT_UID = (1 << 15), - MOUNT_UMASK = (1 << 16), - MOUNT_UTF8 = (1 << 17), -+ MOUNT_LOCALE = (1 << 18), -+ MOUNT_LONGNAME = (1 << 19), - }; - - static struct { - const char *name; - guint32 flag; - } mount_options[] = { -+#ifdef __FreeBSD__ -+ { "-D=", MOUNT_CODEPAGE }, /* vfat */ -+ { "-M=", MOUNT_DMASK }, /* vfat */ -+ { "-m=", MOUNT_FMASK }, /* vfat, ntfs */ -+ { "-L=", MOUNT_LOCALE }, /* vfat */ -+ { "-C=", MOUNT_IOCHARSET }, /* ntfs, ios9660 */ -+ { "noatime", MOUNT_NOATIME }, -+ { "noexec", MOUNT_NOEXEC }, -+ { "ro", MOUNT_READ_ONLY }, -+ { "longnames", MOUNT_LONGNAME }, /* vfat */ -+ { "sync", MOUNT_SYNC }, -+ { "-u=", MOUNT_UID }, /* vfat, ntfs */ -+#else - { "codepage=", MOUNT_CODEPAGE }, /* vfat */ - { "data=", MOUNT_DATA }, /* ext3 */ - { "dirsync", MOUNT_DIRSYNC }, -@@ -1580,6 +1598,7 @@ static struct { - { "uid=", MOUNT_UID }, /* vfat, ntfs, udf, iso9660 */ - { "umask=", MOUNT_UMASK }, /* vfat, ntfs, udf */ - { "utf8", MOUNT_UTF8 }, /* vfat, iso9660 */ -+#endif - }; - - -@@ -1760,10 +1779,17 @@ gvm_mount_options (GPtrArray *options, g - g_slist_free_1 (l); - } - -+#ifndef __FreeBSD__ - if (opts & MOUNT_UID) { - option = g_strdup_printf ("uid=%u", getuid ()); - g_ptr_array_add (options, option); - } -+#else -+ if (opts & MOUNT_UID && (!strcmp (where, "vfat") || !strcmp (where, "ntfs"))) { -+ option = g_strdup_printf ("u=%u", getuid ()); -+ g_ptr_array_add (options, option); -+ } -+#endif - - return TRUE; - } -@@ -1813,7 +1839,7 @@ gvm_device_mount (const char *udi, gbool - - return retval; - } else { -- char *mount_point, *fstype, *drive, **moptions, fmask_opt[12], *charset_opt = NULL; -+ char *mount_point, *fstype, *drive, **moptions, fmask_opt[12], *charset_opt = NULL, *locale_opt = NULL; - DBusMessage *dmesg, *reply; - gboolean freev = FALSE; - GPtrArray *options; -@@ -1893,21 +1919,86 @@ gvm_device_mount (const char *udi, gbool - - if (opts & MOUNT_FMASK) { - mask = umask (0); -+#ifdef __FreeBSD__ -+ snprintf (fmask_opt, sizeof (fmask_opt), "-m=%#o", mask | 0111); -+#else - snprintf (fmask_opt, sizeof (fmask_opt), "fmask=%#o", mask | 0111); -+#endif - g_ptr_array_add (options, fmask_opt); - umask (mask); - } - - if (opts & MOUNT_SHORTNAME) - g_ptr_array_add (options, "shortname=lower"); -+ if (opts & MOUNT_LONGNAME) -+ g_ptr_array_add (options, "longnames"); -+ -+ if (opts & MOUNT_LOCALE) { -+ char *locale; -+ -+ locale = setlocale(LC_ALL, NULL); -+ if (!locale) -+ locale = getenv("LANG"); -+ if (locale) { -+ -+ locale_opt = g_strdup_printf ("-L=%s", locale); -+ g_ptr_array_add (options, locale_opt); -+ } -+ } -+ -+#ifdef __FreeBSD__ -+ if (opts & MOUNT_CODEPAGE) { -+ if ((iocharset = gvm_iocharset ())) { -+ charset_opt = g_strdup_printf ("-D=%s", iocharset); -+ g_ptr_array_add (options, charset_opt); -+ } -+ } -+ -+ if (opts & MOUNT_UID) { -+ snprintf (uid, sizeof (uid) - 1, "-u=%s", getuid ()); -+ g_ptr_array_add (options, uid); -+ } -+#endif - } else if (!strcmp (fstype, "iso9660")) { - /* only care about uid= and iocharset= */ -+#ifdef __FreeBSD__ -+ if (opts & MOUNT_IOCHARSET) { -+ if ((iocharset = gvm_iocharset ())) { -+ charset_opt = g_strdup_printf ("-C=%s", iocharset); -+ g_ptr_array_add (options, charset_opt); -+ } -+ } -+#endif - } else if (!strcmp (fstype, "udf")) { - /* also care about uid= and iocharset= */ - if (opts & MOUNT_NOATIME) - g_ptr_array_add (options, "noatime"); -+#ifdef __FreeBSD__ -+ if (opts & MOUNT_IOCHARSET) { -+ if ((iocharset = gvm_iocharset ())) { -+ charset_opt = g_strdup_printf ("-C=%s", iocharset); -+ g_ptr_array_add (options, charset_opt); -+ } -+ } -+#endif -+ } else if (!strcmp (fstype, "ntfs")) { -+ /* only care about uid= and iocharset= */ -+#ifdef __FreeBSD__ -+ if (opts & MOUNT_IOCHARSET) { -+ if ((iocharset = gvm_iocharset ())) { -+ charset_opt = g_strdup_printf ("-C=%s", iocharset); -+ g_ptr_array_add (options, charset_opt); -+ } -+ } -+ -+ if (opts & MOUNT_UID) { -+ snprintf (uid, sizeof (uid) - 1, "-u=%s", getuid ()); -+ g_ptr_array_add (options, uid); -+ } -+#endif - } - -+#ifndef __FreeBSD__ - if (opts & (MOUNT_IOCHARSET|MOUNT_UTF8)) { - if ((iocharset = gvm_iocharset ())) { - if ((opts & MOUNT_UTF8) && !strcmp (iocharset, "utf8")) { -@@ -1923,6 +2014,7 @@ gvm_device_mount (const char *udi, gbool - snprintf (uid, sizeof (uid) - 1, "uid=%u", getuid ()); - g_ptr_array_add (options, uid); - } -+#endif - - libhal_free_string (fstype); - } -@@ -1947,6 +2039,7 @@ gvm_device_mount (const char *udi, gbool - - g_ptr_array_free (options, TRUE); - g_free (charset_opt); -+ g_free (locale_opt); - - policy = g_new (struct _MountPolicy, 1); - policy->udi = g_strdup (udi); -@@ -3185,6 +3278,12 @@ gvm_local_user (void) - size_t n; - DIR *dir; - int vt; -+#ifndef __linux__ -+ int bytes, fd; -+ struct stat sb; -+ struct utmp buf[1024]; -+ size_t len; -+#endif - - if (local & LOCAL_USER_CHECKED) - return (local & LOCAL_USER_FOUND); -@@ -3208,6 +3307,7 @@ gvm_local_user (void) - - fallback: - -+#ifdef __linux__ - if (!(local & LOCAL_USER_FOUND)) { - setutent (); - -@@ -3222,6 +3322,29 @@ gvm_local_user (void) - - endutent (); - } -+#else -+ if ((fd = open (_PATH_UTMP, O_RDONLY, 0)) < 0 || fstat(fd, &sb) == -1) { -+ close (fd); -+ return TRUE; -+ } -+ -+ len = (sb.st_size + sizeof(buf) - 1) / sizeof(buf); -+ -+ while (!local && len-- > 0) { -+ if (lseek(fd, (off_t) (len * sizeof(buf)), L_SET) == -1 || -+ (bytes = read (fd, buf, sizeof(buf))) == -1) { -+ close (fd); -+ return TRUE; -+ } -+ for (utmp = &buf[bytes / sizeof(buf[0]) - 1]; !local && utmp >= buf; --utmp) { -+ if (!utmp->ut_name[0] || strncmp (utmp->ut_name, user, n) != 0) -+ continue; -+ local = utmp->ut_host[0] == ':' && utmp->ut_host[1] >= '0' && utmp->ut_host[1] <= '9' || !strncmp (utmp->ut_line, "ttyv", 4) ? LOCAL_USER_FOUND : 0; -+ } -+ } -+ -+ close (fd); -+#endif - - local |= LOCAL_USER_CHECKED; - |