123 lines
5.7 KiB
XML
123 lines
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
<!--*- mode: xml -*-->
|
|
<glade-interface>
|
|
<widget class="GtkDialog" id="dialog">
|
|
<property name="border_width">5</property>
|
|
<property name="title" translatable="yes">Torrent Notification Preferences</property>
|
|
<property name="default_width">400</property>
|
|
<property name="default_height">150</property>
|
|
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
|
|
<property name="destroy_with_parent">True</property>
|
|
<property name="skip_taskbar_hint">True</property>
|
|
<property name="skip_pager_hint">True</property>
|
|
<property name="has_separator">False</property>
|
|
<child internal-child="vbox">
|
|
<widget class="GtkVBox" id="dialog-vbox1">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<widget class="GtkHBox" id="dialog-hbox1">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chk_sound">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Enable event sound (requires pygame)</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="toggle_ui"/>
|
|
</widget>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkFileChooserButton" id="sound_path_button">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkTable" id="table1">
|
|
<property name="visible">True</property>
|
|
<property name="n_rows">2</property>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chk_notification">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Enable popup notification (requires python-notify)</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
</widget>
|
|
<packing>
|
|
<property name="top_attach">1</property>
|
|
<property name="bottom_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chk_tray_blink">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Enable blinking tray icon</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child internal-child="action_area">
|
|
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
|
|
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
<child>
|
|
<widget class="GtkButton" id="button_cancel">
|
|
<property name="visible">True</property>
|
|
<property name="label">gtk-cancel</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="response_id">0</property>
|
|
<signal name="pressed" handler="dialog_cancel"/>
|
|
</widget>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkButton" id="button_ok">
|
|
<property name="visible">True</property>
|
|
<property name="label">gtk-ok</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="response_id">1</property>
|
|
<signal name="pressed" handler="dialog_ok"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="pack_type">GTK_PACK_END</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
</glade-interface>
|