[nautilus-actions] New dialog box to enter a new scheme
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] New dialog box to enter a new scheme
- Date: Thu, 10 Jun 2010 22:36:46 +0000 (UTC)
commit 8bb1829ab5e5c12c8649e231a5b961f329db5e5c
Author: Pierre Wieser <pwieser trychlos org>
Date: Mon Jun 7 05:15:09 2010 +0200
New dialog box to enter a new scheme
ChangeLog | 7 ++
po/POTFILES.in | 1 +
src/nact/Makefile.am | 1 +
src/nact/nact-add-scheme.ui | 168 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 177 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 82696e0..a18e08c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,13 @@
* src/core/na-iabout.c: Update copyright notice.
+2010-06-07 Pierre Wieser <pwieser trychlos org>
+
+ * src/nact/nact-add-scheme.ui: New file.
+
+ * po/POTFILES.in:
+ * src/nact/Makefile.am: Updated accordingly.
+
2010-06-04 Pierre Wieser <pwieser trychlos org>
* src/api/na-object-api.h: Reorganization.
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 617939c..444dbb7 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -22,6 +22,7 @@ src/nact/base-window.c
src/nact/egg-desktop-file.c
src/nact/egg-sm-client.c
src/nact/nact-application.c
+src/nact/nact-add-scheme.ui
src/nact/nact-assistant-export.c
src/nact/nact-assistant-export.ui
src/nact/nact-assistant-import.c
diff --git a/src/nact/Makefile.am b/src/nact/Makefile.am
index d7f90ad..44b63cc 100644
--- a/src/nact/Makefile.am
+++ b/src/nact/Makefile.am
@@ -171,6 +171,7 @@ nautilus_actions_config_tool_LDADD = \
pkgdata_DATA = \
nautilus-actions-config-tool.actions \
nautilus-actions-maintainer.actions \
+ nact-add-scheme.ui \
nact-assistant-export.ui \
nact-preferences.ui \
nautilus-actions-config-tool.ui \
diff --git a/src/nact/nact-add-scheme.ui b/src/nact/nact-add-scheme.ui
new file mode 100644
index 0000000..ea7febc
--- /dev/null
+++ b/src/nact/nact-add-scheme.ui
@@ -0,0 +1,168 @@
+<?xml version="1.0"?>
+<interface>
+ <!-- interface-requires gtk+ 2.12 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <object class="GtkDialog" id="AddSchemeDialog">
+ <property name="border_width">5</property>
+ <property name="title" translatable="yes">Adding a new scheme</property>
+ <property name="modal">True</property>
+ <property name="type_hint">dialog</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="border_width">6</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="top_padding">6</property>
+ <property name="bottom_padding">6</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">6</property>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="SchemesTreeView">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="enable_search">False</property>
+ <property name="show_expanders">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkButton" id="AddSchemeButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <child>
+ <object class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="stock">gtk-add</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="AddToPreferencesButton">
+ <property name="label" translatable="yes">Add new scheme to default schemes</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Scheme</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="CancelButton">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="OKButton">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">CancelButton</action-widget>
+ <action-widget response="0">OKButton</action-widget>
+ </action-widgets>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]