summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-30 21:52:14 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-30 21:52:14 +0200
commita437a1b04afa74a8d220fed59a1b89c5674ec0af (patch)
tree78529ba8048a6bc779d03860fb551071c8795670
parent8511f7b69489e068918efc92d02b46c0e7290044 (diff)
tagger options tab in preferences
-rw-r--r--plugins/gtkui/deadbeef.glade738
-rw-r--r--plugins/gtkui/interface.c306
2 files changed, 872 insertions, 172 deletions
diff --git a/plugins/gtkui/deadbeef.glade b/plugins/gtkui/deadbeef.glade
index 480b70d3..d9859ef0 100644
--- a/plugins/gtkui/deadbeef.glade
+++ b/plugins/gtkui/deadbeef.glade
@@ -3573,6 +3573,629 @@ SOCKS5_HOSTNAME</property>
</child>
<child>
+ <widget class="GtkVBox" id="vbox17">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow6">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="hotkeystree">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">False</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">False</property>
+ <property name="fixed_height_mode">False</property>
+ <property name="hover_selection">False</property>
+ <property name="hover_expand">False</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox3">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkButton" id="addhotkey">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Add</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="removehotkey">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Remove</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="applyhotkeys">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Apply</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label66">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Global Hotkeys</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="vbox18">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkFrame" id="frame5">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+
+ <child>
+ <widget class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">1</property>
+ <property name="yscale">1</property>
+ <property name="top_padding">0</property>
+ <property name="bottom_padding">0</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">0</property>
+
+ <child>
+ <widget class="GtkVBox" id="vbox19">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox38">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkCheckButton" id="write_id3v2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Write ID3v2</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="write_id3v1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Write ID3v1</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="write_apev2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Write APEv2</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">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox40">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkCheckButton" id="strip_id3v2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Strip ID3v2</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="strip_id3v1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Strip ID3v1</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="strip_apev2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Strip APEv2</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">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox36">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkLabel" id="label69">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">ID3v2 version</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="GtkComboBox" id="id3v2_version">
+ <property name="visible">True</property>
+ <property name="items" translatable="yes">2.3 (Recommended)
+2.4</property>
+ <property name="add_tearoffs">False</property>
+ <property name="focus_on_click">True</property>
+ </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="hbox39">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkLabel" id="label71">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">ID3v1 character encoding (default is ISO-8859-1)</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="GtkEntry" id="id3v1_encoding">
+ <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>
+ <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>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label68">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;b&gt;MP3&lt;/b&gt;</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.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">label_item</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="GtkFrame" id="frame6">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+
+ <child>
+ <widget class="GtkAlignment" id="alignment4">
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">1</property>
+ <property name="yscale">1</property>
+ <property name="top_padding">0</property>
+ <property name="bottom_padding">0</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">0</property>
+
+ <child>
+ <widget class="GtkVBox" id="vbox20">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox37">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkCheckButton" id="ape_write_id3v2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Write ID3v2.4</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="ape_write_apev2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Write APEv2</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>
+
+ <child>
+ <widget class="GtkHBox" id="hbox41">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <widget class="GtkCheckButton" id="ape_strip_id3v2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Strip ID3v2</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="ape_strip_apev2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Strip APEv2</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>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label70">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;b&gt;APE&lt;/b&gt;</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.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">label_item</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="label67">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Tag writer</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="GtkHPaned" id="hpaned1">
<property name="border_width">12</property>
<property name="visible">True</property>
@@ -3909,121 +4532,6 @@ SOCKS5_HOSTNAME</property>
<property name="type">tab</property>
</packing>
</child>
-
- <child>
- <widget class="GtkVBox" id="vbox17">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">8</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow6">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="hotkeystree">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">True</property>
- <property name="rules_hint">False</property>
- <property name="reorderable">False</property>
- <property name="enable_search">False</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="hbuttonbox3">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkButton" id="addhotkey">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Add</property>
- <property name="use_underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="removehotkey">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Remove</property>
- <property name="use_underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="applyhotkeys">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Apply</property>
- <property name="use_underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label66">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Global Hotkeys</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>
</widget>
<packing>
<property name="padding">0</property>
diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c
index 6f7e5f21..e82a7e3a 100644
--- a/plugins/gtkui/interface.c
+++ b/plugins/gtkui/interface.c
@@ -1600,6 +1600,44 @@ create_prefwin (void)
GtkWidget *label20;
GtkWidget *pref_network_proxytype;
GtkWidget *label16;
+ GtkWidget *vbox17;
+ GtkWidget *scrolledwindow6;
+ GtkWidget *hotkeystree;
+ GtkWidget *hbuttonbox3;
+ GtkWidget *addhotkey;
+ GtkWidget *removehotkey;
+ GtkWidget *applyhotkeys;
+ GtkWidget *label66;
+ GtkWidget *vbox18;
+ GtkWidget *frame5;
+ GtkWidget *alignment3;
+ GtkWidget *vbox19;
+ GtkWidget *hbox38;
+ GtkWidget *write_id3v2;
+ GtkWidget *write_id3v1;
+ GtkWidget *write_apev2;
+ GtkWidget *hbox40;
+ GtkWidget *strip_id3v2;
+ GtkWidget *strip_id3v1;
+ GtkWidget *strip_apev2;
+ GtkWidget *hbox36;
+ GtkWidget *label69;
+ GtkWidget *id3v2_version;
+ GtkWidget *hbox39;
+ GtkWidget *label71;
+ GtkWidget *id3v1_encoding;
+ GtkWidget *label68;
+ GtkWidget *frame6;
+ GtkWidget *alignment4;
+ GtkWidget *vbox20;
+ GtkWidget *hbox37;
+ GtkWidget *ape_write_id3v2;
+ GtkWidget *ape_write_apev2;
+ GtkWidget *hbox41;
+ GtkWidget *ape_strip_id3v2;
+ GtkWidget *ape_strip_apev2;
+ GtkWidget *label70;
+ GtkWidget *label67;
GtkWidget *hpaned1;
GtkWidget *scrolledwindow2;
GtkWidget *pref_pluginlist;
@@ -1619,14 +1657,6 @@ create_prefwin (void)
GtkWidget *hbox20;
GtkWidget *configure_plugin;
GtkWidget *label3;
- GtkWidget *vbox17;
- GtkWidget *scrolledwindow6;
- GtkWidget *hotkeystree;
- GtkWidget *hbuttonbox3;
- GtkWidget *addhotkey;
- GtkWidget *removehotkey;
- GtkWidget *applyhotkeys;
- GtkWidget *label66;
GtkWidget *dialog_action_area2;
GtkWidget *closebutton1;
@@ -1975,6 +2005,178 @@ create_prefwin (void)
gtk_widget_show (label16);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 3), label16);
+ vbox17 = gtk_vbox_new (FALSE, 8);
+ gtk_widget_show (vbox17);
+ gtk_container_add (GTK_CONTAINER (notebook2), vbox17);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox17), 12);
+
+ scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_show (scrolledwindow6);
+ gtk_box_pack_start (GTK_BOX (vbox17), scrolledwindow6, TRUE, TRUE, 0);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_SHADOW_IN);
+
+ hotkeystree = gtk_tree_view_new ();
+ gtk_widget_show (hotkeystree);
+ gtk_container_add (GTK_CONTAINER (scrolledwindow6), hotkeystree);
+ gtk_tree_view_set_enable_search (GTK_TREE_VIEW (hotkeystree), FALSE);
+
+ hbuttonbox3 = gtk_hbutton_box_new ();
+ gtk_widget_show (hbuttonbox3);
+ gtk_box_pack_start (GTK_BOX (vbox17), hbuttonbox3, FALSE, FALSE, 0);
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox3), GTK_BUTTONBOX_END);
+
+ addhotkey = gtk_button_new_with_mnemonic ("Add");
+ gtk_widget_show (addhotkey);
+ gtk_container_add (GTK_CONTAINER (hbuttonbox3), addhotkey);
+ GTK_WIDGET_SET_FLAGS (addhotkey, GTK_CAN_DEFAULT);
+
+ removehotkey = gtk_button_new_with_mnemonic ("Remove");
+ gtk_widget_show (removehotkey);
+ gtk_container_add (GTK_CONTAINER (hbuttonbox3), removehotkey);
+ GTK_WIDGET_SET_FLAGS (removehotkey, GTK_CAN_DEFAULT);
+
+ applyhotkeys = gtk_button_new_with_mnemonic ("Apply");
+ gtk_widget_show (applyhotkeys);
+ gtk_container_add (GTK_CONTAINER (hbuttonbox3), applyhotkeys);
+ GTK_WIDGET_SET_FLAGS (applyhotkeys, GTK_CAN_DEFAULT);
+
+ label66 = gtk_label_new ("Global Hotkeys");
+ gtk_widget_show (label66);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 4), label66);
+
+ vbox18 = gtk_vbox_new (FALSE, 0);
+ gtk_widget_show (vbox18);
+ gtk_container_add (GTK_CONTAINER (notebook2), vbox18);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox18), 12);
+
+ frame5 = gtk_frame_new (NULL);
+ gtk_widget_show (frame5);
+ gtk_box_pack_start (GTK_BOX (vbox18), frame5, FALSE, TRUE, 0);
+ gtk_frame_set_shadow_type (GTK_FRAME (frame5), GTK_SHADOW_NONE);
+
+ alignment3 = gtk_alignment_new (0.5, 0.5, 1, 1);
+ gtk_widget_show (alignment3);
+ gtk_container_add (GTK_CONTAINER (frame5), alignment3);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment3), 0, 0, 12, 0);
+
+ vbox19 = gtk_vbox_new (FALSE, 8);
+ gtk_widget_show (vbox19);
+ gtk_container_add (GTK_CONTAINER (alignment3), vbox19);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox19), 12);
+
+ hbox38 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox38);
+ gtk_box_pack_start (GTK_BOX (vbox19), hbox38, FALSE, FALSE, 0);
+
+ write_id3v2 = gtk_check_button_new_with_mnemonic ("Write ID3v2");
+ gtk_widget_show (write_id3v2);
+ gtk_box_pack_start (GTK_BOX (hbox38), write_id3v2, FALSE, FALSE, 0);
+
+ write_id3v1 = gtk_check_button_new_with_mnemonic ("Write ID3v1");
+ gtk_widget_show (write_id3v1);
+ gtk_box_pack_start (GTK_BOX (hbox38), write_id3v1, FALSE, FALSE, 0);
+
+ write_apev2 = gtk_check_button_new_with_mnemonic ("Write APEv2");
+ gtk_widget_show (write_apev2);
+ gtk_box_pack_start (GTK_BOX (hbox38), write_apev2, FALSE, FALSE, 0);
+
+ hbox40 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox40);
+ gtk_box_pack_start (GTK_BOX (vbox19), hbox40, FALSE, FALSE, 0);
+
+ strip_id3v2 = gtk_check_button_new_with_mnemonic ("Strip ID3v2");
+ gtk_widget_show (strip_id3v2);
+ gtk_box_pack_start (GTK_BOX (hbox40), strip_id3v2, FALSE, FALSE, 0);
+
+ strip_id3v1 = gtk_check_button_new_with_mnemonic ("Strip ID3v1");
+ gtk_widget_show (strip_id3v1);
+ gtk_box_pack_start (GTK_BOX (hbox40), strip_id3v1, FALSE, FALSE, 0);
+
+ strip_apev2 = gtk_check_button_new_with_mnemonic ("Strip APEv2");
+ gtk_widget_show (strip_apev2);
+ gtk_box_pack_start (GTK_BOX (hbox40), strip_apev2, FALSE, FALSE, 0);
+
+ hbox36 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox36);
+ gtk_box_pack_start (GTK_BOX (vbox19), hbox36, TRUE, TRUE, 0);
+
+ label69 = gtk_label_new ("ID3v2 version");
+ gtk_widget_show (label69);
+ gtk_box_pack_start (GTK_BOX (hbox36), label69, FALSE, FALSE, 0);
+
+ id3v2_version = gtk_combo_box_new_text ();
+ gtk_widget_show (id3v2_version);
+ gtk_box_pack_start (GTK_BOX (hbox36), id3v2_version, TRUE, TRUE, 0);
+ gtk_combo_box_append_text (GTK_COMBO_BOX (id3v2_version), "2.3 (Recommended)");
+ gtk_combo_box_append_text (GTK_COMBO_BOX (id3v2_version), "2.4");
+
+ hbox39 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox39);
+ gtk_box_pack_start (GTK_BOX (vbox19), hbox39, TRUE, TRUE, 0);
+
+ label71 = gtk_label_new ("ID3v1 character encoding (default is ISO-8859-1)");
+ gtk_widget_show (label71);
+ gtk_box_pack_start (GTK_BOX (hbox39), label71, FALSE, FALSE, 0);
+
+ id3v1_encoding = gtk_entry_new ();
+ gtk_widget_show (id3v1_encoding);
+ gtk_box_pack_start (GTK_BOX (hbox39), id3v1_encoding, TRUE, TRUE, 0);
+ gtk_entry_set_invisible_char (GTK_ENTRY (id3v1_encoding), 9679);
+
+ label68 = gtk_label_new ("<b>MP3</b>");
+ gtk_widget_show (label68);
+ gtk_frame_set_label_widget (GTK_FRAME (frame5), label68);
+ gtk_label_set_use_markup (GTK_LABEL (label68), TRUE);
+
+ frame6 = gtk_frame_new (NULL);
+ gtk_widget_show (frame6);
+ gtk_box_pack_start (GTK_BOX (vbox18), frame6, FALSE, TRUE, 0);
+ gtk_frame_set_shadow_type (GTK_FRAME (frame6), GTK_SHADOW_NONE);
+
+ alignment4 = gtk_alignment_new (0.5, 0.5, 1, 1);
+ gtk_widget_show (alignment4);
+ gtk_container_add (GTK_CONTAINER (frame6), alignment4);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment4), 0, 0, 12, 0);
+
+ vbox20 = gtk_vbox_new (FALSE, 8);
+ gtk_widget_show (vbox20);
+ gtk_container_add (GTK_CONTAINER (alignment4), vbox20);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox20), 12);
+
+ hbox37 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox37);
+ gtk_box_pack_start (GTK_BOX (vbox20), hbox37, TRUE, TRUE, 0);
+
+ ape_write_id3v2 = gtk_check_button_new_with_mnemonic ("Write ID3v2.4");
+ gtk_widget_show (ape_write_id3v2);
+ gtk_box_pack_start (GTK_BOX (hbox37), ape_write_id3v2, FALSE, FALSE, 0);
+
+ ape_write_apev2 = gtk_check_button_new_with_mnemonic ("Write APEv2");
+ gtk_widget_show (ape_write_apev2);
+ gtk_box_pack_start (GTK_BOX (hbox37), ape_write_apev2, FALSE, FALSE, 0);
+
+ hbox41 = gtk_hbox_new (FALSE, 8);
+ gtk_widget_show (hbox41);
+ gtk_box_pack_start (GTK_BOX (vbox20), hbox41, TRUE, TRUE, 0);
+
+ ape_strip_id3v2 = gtk_check_button_new_with_mnemonic ("Strip ID3v2");
+ gtk_widget_show (ape_strip_id3v2);
+ gtk_box_pack_start (GTK_BOX (hbox41), ape_strip_id3v2, FALSE, FALSE, 0);
+
+ ape_strip_apev2 = gtk_check_button_new_with_mnemonic ("Strip APEv2");
+ gtk_widget_show (ape_strip_apev2);
+ gtk_box_pack_start (GTK_BOX (hbox41), ape_strip_apev2, FALSE, FALSE, 0);
+
+ label70 = gtk_label_new ("<b>APE</b>");
+ gtk_widget_show (label70);
+ gtk_frame_set_label_widget (GTK_FRAME (frame6), label70);
+ gtk_label_set_use_markup (GTK_LABEL (label70), TRUE);
+
+ label67 = gtk_label_new ("Tag writer");
+ gtk_widget_show (label67);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 5), label67);
+
hpaned1 = gtk_hpaned_new ();
gtk_widget_show (hpaned1);
gtk_container_add (GTK_CONTAINER (notebook2), hpaned1);
@@ -2068,49 +2270,9 @@ create_prefwin (void)
label3 = gtk_label_new ("Plugins");
gtk_widget_show (label3);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 4), label3);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 6), label3);
gtk_misc_set_alignment (GTK_MISC (label3), 0.48, 0.5);
- vbox17 = gtk_vbox_new (FALSE, 8);
- gtk_widget_show (vbox17);
- gtk_container_add (GTK_CONTAINER (notebook2), vbox17);
- gtk_container_set_border_width (GTK_CONTAINER (vbox17), 12);
-
- scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_show (scrolledwindow6);
- gtk_box_pack_start (GTK_BOX (vbox17), scrolledwindow6, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_SHADOW_IN);
-
- hotkeystree = gtk_tree_view_new ();
- gtk_widget_show (hotkeystree);
- gtk_container_add (GTK_CONTAINER (scrolledwindow6), hotkeystree);
- gtk_tree_view_set_enable_search (GTK_TREE_VIEW (hotkeystree), FALSE);
-
- hbuttonbox3 = gtk_hbutton_box_new ();
- gtk_widget_show (hbuttonbox3);
- gtk_box_pack_start (GTK_BOX (vbox17), hbuttonbox3, FALSE, FALSE, 0);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox3), GTK_BUTTONBOX_END);
-
- addhotkey = gtk_button_new_with_mnemonic ("Add");
- gtk_widget_show (addhotkey);
- gtk_container_add (GTK_CONTAINER (hbuttonbox3), addhotkey);
- GTK_WIDGET_SET_FLAGS (addhotkey, GTK_CAN_DEFAULT);
-
- removehotkey = gtk_button_new_with_mnemonic ("Remove");
- gtk_widget_show (removehotkey);
- gtk_container_add (GTK_CONTAINER (hbuttonbox3), removehotkey);
- GTK_WIDGET_SET_FLAGS (removehotkey, GTK_CAN_DEFAULT);
-
- applyhotkeys = gtk_button_new_with_mnemonic ("Apply");
- gtk_widget_show (applyhotkeys);
- gtk_container_add (GTK_CONTAINER (hbuttonbox3), applyhotkeys);
- GTK_WIDGET_SET_FLAGS (applyhotkeys, GTK_CAN_DEFAULT);
-
- label66 = gtk_label_new ("Global Hotkeys");
- gtk_widget_show (label66);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 5), label66);
-
dialog_action_area2 = GTK_DIALOG (prefwin)->action_area;
gtk_widget_show (dialog_action_area2);
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_END);
@@ -2252,6 +2414,44 @@ create_prefwin (void)
GLADE_HOOKUP_OBJECT (prefwin, label20, "label20");
GLADE_HOOKUP_OBJECT (prefwin, pref_network_proxytype, "pref_network_proxytype");
GLADE_HOOKUP_OBJECT (prefwin, label16, "label16");
+ GLADE_HOOKUP_OBJECT (prefwin, vbox17, "vbox17");
+ GLADE_HOOKUP_OBJECT (prefwin, scrolledwindow6, "scrolledwindow6");
+ GLADE_HOOKUP_OBJECT (prefwin, hotkeystree, "hotkeystree");
+ GLADE_HOOKUP_OBJECT (prefwin, hbuttonbox3, "hbuttonbox3");
+ GLADE_HOOKUP_OBJECT (prefwin, addhotkey, "addhotkey");
+ GLADE_HOOKUP_OBJECT (prefwin, removehotkey, "removehotkey");
+ GLADE_HOOKUP_OBJECT (prefwin, applyhotkeys, "applyhotkeys");
+ GLADE_HOOKUP_OBJECT (prefwin, label66, "label66");
+ GLADE_HOOKUP_OBJECT (prefwin, vbox18, "vbox18");
+ GLADE_HOOKUP_OBJECT (prefwin, frame5, "frame5");
+ GLADE_HOOKUP_OBJECT (prefwin, alignment3, "alignment3");
+ GLADE_HOOKUP_OBJECT (prefwin, vbox19, "vbox19");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox38, "hbox38");
+ GLADE_HOOKUP_OBJECT (prefwin, write_id3v2, "write_id3v2");
+ GLADE_HOOKUP_OBJECT (prefwin, write_id3v1, "write_id3v1");
+ GLADE_HOOKUP_OBJECT (prefwin, write_apev2, "write_apev2");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox40, "hbox40");
+ GLADE_HOOKUP_OBJECT (prefwin, strip_id3v2, "strip_id3v2");
+ GLADE_HOOKUP_OBJECT (prefwin, strip_id3v1, "strip_id3v1");
+ GLADE_HOOKUP_OBJECT (prefwin, strip_apev2, "strip_apev2");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox36, "hbox36");
+ GLADE_HOOKUP_OBJECT (prefwin, label69, "label69");
+ GLADE_HOOKUP_OBJECT (prefwin, id3v2_version, "id3v2_version");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox39, "hbox39");
+ GLADE_HOOKUP_OBJECT (prefwin, label71, "label71");
+ GLADE_HOOKUP_OBJECT (prefwin, id3v1_encoding, "id3v1_encoding");
+ GLADE_HOOKUP_OBJECT (prefwin, label68, "label68");
+ GLADE_HOOKUP_OBJECT (prefwin, frame6, "frame6");
+ GLADE_HOOKUP_OBJECT (prefwin, alignment4, "alignment4");
+ GLADE_HOOKUP_OBJECT (prefwin, vbox20, "vbox20");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox37, "hbox37");
+ GLADE_HOOKUP_OBJECT (prefwin, ape_write_id3v2, "ape_write_id3v2");
+ GLADE_HOOKUP_OBJECT (prefwin, ape_write_apev2, "ape_write_apev2");
+ GLADE_HOOKUP_OBJECT (prefwin, hbox41, "hbox41");
+ GLADE_HOOKUP_OBJECT (prefwin, ape_strip_id3v2, "ape_strip_id3v2");
+ GLADE_HOOKUP_OBJECT (prefwin, ape_strip_apev2, "ape_strip_apev2");
+ GLADE_HOOKUP_OBJECT (prefwin, label70, "label70");
+ GLADE_HOOKUP_OBJECT (prefwin, label67, "label67");
GLADE_HOOKUP_OBJECT (prefwin, hpaned1, "hpaned1");
GLADE_HOOKUP_OBJECT (prefwin, scrolledwindow2, "scrolledwindow2");
GLADE_HOOKUP_OBJECT (prefwin, pref_pluginlist, "pref_pluginlist");
@@ -2271,14 +2471,6 @@ create_prefwin (void)
GLADE_HOOKUP_OBJECT (prefwin, hbox20, "hbox20");
GLADE_HOOKUP_OBJECT (prefwin, configure_plugin, "configure_plugin");
GLADE_HOOKUP_OBJECT (prefwin, label3, "label3");
- GLADE_HOOKUP_OBJECT (prefwin, vbox17, "vbox17");
- GLADE_HOOKUP_OBJECT (prefwin, scrolledwindow6, "scrolledwindow6");
- GLADE_HOOKUP_OBJECT (prefwin, hotkeystree, "hotkeystree");
- GLADE_HOOKUP_OBJECT (prefwin, hbuttonbox3, "hbuttonbox3");
- GLADE_HOOKUP_OBJECT (prefwin, addhotkey, "addhotkey");
- GLADE_HOOKUP_OBJECT (prefwin, removehotkey, "removehotkey");
- GLADE_HOOKUP_OBJECT (prefwin, applyhotkeys, "applyhotkeys");
- GLADE_HOOKUP_OBJECT (prefwin, label66, "label66");
GLADE_HOOKUP_OBJECT_NO_REF (prefwin, dialog_action_area2, "dialog_action_area2");
GLADE_HOOKUP_OBJECT (prefwin, closebutton1, "closebutton1");