aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/gnunet_fs_gtk_main_window.glade8
-rw-r--r--contrib/gnunet_fs_gtk_unindex.glade154
3 files changed, 163 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 2f87c8ec..f862f77c 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -27,6 +27,7 @@ pkgdata_DATA = \
27 gnunet_fs_gtk_publish_tab.glade \ 27 gnunet_fs_gtk_publish_tab.glade \
28 gnunet_fs_gtk_search_tab.glade \ 28 gnunet_fs_gtk_search_tab.glade \
29 gnunet_fs_gtk_select_pseudonym_dialog.glade \ 29 gnunet_fs_gtk_select_pseudonym_dialog.glade \
30 gnunet_fs_gtk_unindex.glade \
30 gnunet_fs_gtk_progress_dialog.glade \ 31 gnunet_fs_gtk_progress_dialog.glade \
31 gnunet_gns_gtk_about_window.glade \ 32 gnunet_gns_gtk_about_window.glade \
32 gnunet_gns_gtk_main_window.glade \ 33 gnunet_gns_gtk_main_window.glade \
diff --git a/contrib/gnunet_fs_gtk_main_window.glade b/contrib/gnunet_fs_gtk_main_window.glade
index 3186c010..3b4f615d 100644
--- a/contrib/gnunet_fs_gtk_main_window.glade
+++ b/contrib/gnunet_fs_gtk_main_window.glade
@@ -192,6 +192,14 @@
192 </object> 192 </object>
193 </child> 193 </child>
194 <child> 194 <child>
195 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_unindex">
196 <property name="visible">True</property>
197 <property name="label" translatable="yes">_List indexed files</property>
198 <property name="use_underline">True</property>
199 <signal name="activate" handler="GNUNET_GTK_main_menu_unindex_activate_cb"/>
200 </object>
201 </child>
202 <child>
195 <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1"> 203 <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1">
196 <property name="visible">True</property> 204 <property name="visible">True</property>
197 </object> 205 </object>
diff --git a/contrib/gnunet_fs_gtk_unindex.glade b/contrib/gnunet_fs_gtk_unindex.glade
new file mode 100644
index 00000000..90d6cab5
--- /dev/null
+++ b/contrib/gnunet_fs_gtk_unindex.glade
@@ -0,0 +1,154 @@
1<?xml version="1.0"?>
2<interface>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkListStore" id="GNUNET_FS_GTK_unindex_liststore">
6 <columns>
7 <!-- column-name filename -->
8 <column type="gchararray"/>
9 <!-- column-name filesize -->
10 <column type="guint64"/>
11 <!-- column-name background_color -->
12 <column type="gchararray"/>
13 <!-- column-name unindex_context -->
14 <column type="gpointer"/>
15 <!-- column-name unindex_progress -->
16 <column type="gint"/>
17 <!-- column-name progress_visible -->
18 <column type="gboolean"/>
19 <!-- column-name error_message -->
20 <column type="gchararray"/>
21 </columns>
22 </object>
23 <object class="GtkDialog" id="GNUNET_FS_GTK_unindex_dialog">
24 <property name="width_request">600</property>
25 <property name="height_request">300</property>
26 <property name="border_width">5</property>
27 <property name="title" translatable="yes">Indexed files</property>
28 <property name="icon_name">folder</property>
29 <property name="type_hint">normal</property>
30 <property name="has_separator">False</property>
31 <child internal-child="vbox">
32 <object class="GtkVBox" id="GNUNET_FS_GTK_unindex_dialog-vbox">
33 <property name="visible">True</property>
34 <property name="orientation">vertical</property>
35 <property name="spacing">2</property>
36 <child>
37 <object class="GtkScrolledWindow" id="GNUNET_FS_GTK_unindex_scrolledwindow">
38 <property name="visible">True</property>
39 <property name="can_focus">True</property>
40 <property name="hscrollbar_policy">automatic</property>
41 <property name="vscrollbar_policy">automatic</property>
42 <child>
43 <object class="GtkTreeView" id="GNUNET_FS_GTK_unindex_treeview">
44 <property name="visible">True</property>
45 <property name="can_focus">True</property>
46 <property name="model">GNUNET_FS_GTK_unindex_liststore</property>
47 <child>
48 <object class="GtkTreeViewColumn" id="GNUNET_FS_GTK_unindex_filesize_treeviewcolumn">
49 <property name="sizing">autosize</property>
50 <property name="title">Size</property>
51 <property name="reorderable">True</property>
52 <property name="sort_indicator">True</property>
53 <property name="sort_column_id">1</property>
54 <child>
55 <object class="GtkCellRendererText" id="GNUNET_FS_GTK_unindex_cellrenderertext"/>
56 <attributes>
57 <attribute name="background">2</attribute>
58 <attribute name="text">1</attribute>
59 </attributes>
60 </child>
61 </object>
62 </child>
63 <child>
64 <object class="GtkTreeViewColumn" id="GNUNET_FS_GTK_unindex_filename_treeviewcolumn">
65 <property name="title">Filename</property>
66 <property name="reorderable">True</property>
67 <property name="sort_indicator">True</property>
68 <property name="sort_column_id">0</property>
69 <child>
70 <object class="GtkCellRendererText" id="GNUNET_FS_GTK_unindex_filename_cellrenderertext"/>
71 <attributes>
72 <attribute name="background">2</attribute>
73 <attribute name="text">0</attribute>
74 </attributes>
75 </child>
76 </object>
77 </child>
78 <child>
79 <object class="GtkTreeViewColumn" id="GNUNET_FS_GTK_unindex_progress_treeviewcolumn">
80 <property name="min_width">9</property>
81 <property name="title">Unindex progress</property>
82 <child>
83 <object class="GtkCellRendererProgress" id="GNUNET_FS_GTK_unindex_progress_cellrendererprogress"/>
84 <attributes>
85 <attribute name="visible">5</attribute>
86 <attribute name="text">6</attribute>
87 <attribute name="value">4</attribute>
88 </attributes>
89 </child>
90 </object>
91 </child>
92 </object>
93 </child>
94 </object>
95 <packing>
96 <property name="position">1</property>
97 </packing>
98 </child>
99 <child internal-child="action_area">
100 <object class="GtkHButtonBox" id="GNUNET_FS_GTK_unindex_dialog-action_area">
101 <property name="visible">True</property>
102 <property name="layout_style">end</property>
103 <child>
104 <object class="GtkButton" id="GNUNET_FS_GTK_unindex_button">
105 <property name="label">_Unindex</property>
106 <property name="visible">True</property>
107 <property name="sensitive">False</property>
108 <property name="can_focus">True</property>
109 <property name="receives_default">True</property>
110 <property name="tooltip_text" translatable="yes">Unindex the selected indexed file.</property>
111 <property name="image">GNUNET_FS_GTK_unindex_delete_image</property>
112 <property name="use_underline">True</property>
113 <signal name="clicked" handler="GNUNET_FS_GTK_unindex_button_clicked_cb"/>
114 </object>
115 <packing>
116 <property name="expand">False</property>
117 <property name="fill">False</property>
118 <property name="position">0</property>
119 </packing>
120 </child>
121 <child>
122 <object class="GtkButton" id="GNUNET_FS_GTK_unindex_close_button">
123 <property name="label">gtk-close</property>
124 <property name="visible">True</property>
125 <property name="can_focus">True</property>
126 <property name="receives_default">True</property>
127 <property name="use_stock">True</property>
128 <signal name="clicked" handler="GNUNET_FS_GTK_unindex_close_button_clicked_cb"/>
129 </object>
130 <packing>
131 <property name="expand">False</property>
132 <property name="fill">False</property>
133 <property name="position">1</property>
134 </packing>
135 </child>
136 </object>
137 <packing>
138 <property name="expand">False</property>
139 <property name="pack_type">end</property>
140 <property name="position">0</property>
141 </packing>
142 </child>
143 </object>
144 </child>
145 <action-widgets>
146 <action-widget response="0">GNUNET_FS_GTK_unindex_button</action-widget>
147 <action-widget response="0">GNUNET_FS_GTK_unindex_close_button</action-widget>
148 </action-widgets>
149 </object>
150 <object class="GtkImage" id="GNUNET_FS_GTK_unindex_delete_image">
151 <property name="visible">True</property>
152 <property name="stock">gtk-delete</property>
153 </object>
154</interface>