diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-28 15:57:59 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-10-15 13:03:16 +0100 |
commit | 375c2c2d6207763ff3ac8d7fb289b2b5ea1f8d54 (patch) | |
tree | e0ad7ddb2959da06a3de3501efed019d1c0e3a51 /src/pavucontrol.glade | |
parent | 400c69acf4b550d8ad2e7ad2f4e6232dfc19bb3d (diff) |
Add support for the device-manager module.
Currently this module only really allows for devices to be renamed, so we add a new
dialog that can be activated by right clicking on devices (i.e. sinks/sources).
This dialog allows you to enter a new name which will be set via the extension
provided by the device-manager module.
Future work will allow you to manage (i.e. rename, delete etc) offline devices too.
Diffstat (limited to 'src/pavucontrol.glade')
-rw-r--r-- | src/pavucontrol.glade | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/pavucontrol.glade b/src/pavucontrol.glade index 4d7a574..453bb57 100644 --- a/src/pavucontrol.glade +++ b/src/pavucontrol.glade @@ -1024,4 +1024,56 @@ Monitors</property> </widget> </child> </widget> + <widget class="GtkDialog" id="renameDialog"> + <property name="border_width">5</property> + <property name="type_hint">normal</property> + <property name="has_separator">False</property> + <child internal-child="vbox"> + <widget class="GtkVBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child> + <widget class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes"><b>Rename device to:</b></property> + <property name="use_markup">True</property> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + <child> + <widget class="GtkEntry" id="renameText"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">●</property> + <property name="activates_default">True</property> + <property name="width_chars">60</property> + </widget> + <packing> + <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="layout_style">end</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </widget> + <packing> + <property name="expand">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + </widget> + </child> + </widget> </glade-interface> |