gimdb 0.0.6 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -1,23 +1,5 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- deb
23
- *.deb
1
+ *.gem
2
+ .bundle
3
+ .redcar
4
+ Gemfile.lock
5
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in gimdb.gemspec
4
+ gemspec
@@ -11,7 +11,7 @@ _gimdb_ download the movies info that you request and save them in a local sqlit
11
11
  You can create users and save for each of them the movies to see, movies seen and favourites movies.
12
12
  _gimdb_ can also work in offline mode searching movies in the local database.
13
13
 
14
- {Screenshot}[http://cloud.github.com/downloads/pioz/gimdb/screenshot-GIMDB.png]
14
+ {Screenshot}[https://github.com/downloads/pioz/gimdb/screenshot-GIMDB.png]
15
15
 
16
16
  _gimdb_ may be useful if you don't know what movie see.
17
17
 
@@ -76,6 +76,25 @@ or download debian package here[http://github.com/downloads/pioz/gimdb/gimdb_0.0
76
76
 
77
77
  sudo dpkg -i gimdb_0.0.6_all.deb
78
78
 
79
+ or add gimdb's repository in your apt sources list file
80
+
81
+ * Import repository public key
82
+
83
+ gpg --recv-keys c90a3577
84
+ gpg --export --armor c90a3577 | sudo apt-key add -
85
+
86
+ * Add repository in your <tt>/etc/apt/sources.list</tt> adding follow line
87
+
88
+ deb http://www.pioz.it/repository debian main
89
+
90
+ * Update repositories
91
+
92
+ sudo apt-get update
93
+
94
+ * Install gimdb
95
+
96
+ sudo apt-get install gimdb
97
+
79
98
  == Docs
80
99
 
81
100
  http://rdoc.info/projects/Pioz/gimdb
data/Rakefile CHANGED
@@ -1,50 +1,34 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- $NAME = gem.name = 'gimdb'
8
- $VERSION = File.exist?('VERSION') ? File.read('VERSION').strip : ''
9
- $SUMMARY = gem.summary = 'GTK graphical interface for Internet Movie DataBase'
10
- $DESCRIPTION = gem.description = 'GTK graphical interface for Internet Movie DataBase. You can create users and save for each of them the movies to see, movies seen and favourites movies in a sqlite3 database.'
11
- $EMAIL = gem.email = 'enrico@megiston.it'
12
- $HOMEPAGE = gem.homepage = 'http://github.com/pioz/gimdb'
13
- $AUTHORS = gem.authors = [ 'Enrico Pilotto' ]
14
- gem.add_dependency 'nokogiri'
15
- gem.add_dependency 'activerecord'
16
- gem.add_dependency 'sqlite3-ruby'
17
- end
18
- Jeweler::GemcutterTasks.new
19
- rescue LoadError
20
- puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
21
- end
22
-
23
- task :test => :check_dependencies
24
-
25
- task :default => :test
26
-
27
- require 'rake/rdoctask'
28
- Rake::RDocTask.new do |rdoc|
29
- rdoc.rdoc_dir = 'rdoc'
30
- rdoc.title = "gimdb #{$VERSION}"
31
- rdoc.rdoc_files.include('README*')
32
- end
1
+ require "bundler/gem_tasks"
33
2
 
34
3
  namespace :gettext do
4
+ require 'nokogiri'
5
+ #require 'gettext/tools'
6
+
35
7
  desc "Update pot/po files"
36
8
  task :updatepo do
37
- require 'gettext/tools'
38
- GetText.update_pofiles('gimdb', Dir.glob("{.,lib,bin}/**/*.rb"), 'gimdb')
9
+ TMP_FILE = 'lib/gimdb/ui_translatable_strings.rb'
10
+ begin
11
+ doc = Nokogiri::XML(open('data/gimdb.ui'))
12
+ ui_t = doc.search('*[translatable=yes]').map{|e| "_('#{e.content}')"}
13
+ File.open(TMP_FILE, 'w') do |f|
14
+ ui_t.each_with_index do |s, i|
15
+ f << "s#{i} = #{s}\n"
16
+ end
17
+ end
18
+ GetText.update_pofiles('gimdb', Dir.glob("{lib/gimdb,bin}/**/*.rb"), Gimdb::VERSION)
19
+ ensure
20
+ File.delete(TMP_FILE)
21
+ end
39
22
  end
40
23
 
41
- desc "Create mo-files"
24
+ desc "Create mo files"
42
25
  task :makemo do
43
- require 'gettext/tools'
44
- GetText.create_mofiles
26
+ GetText.create_mofiles(:verbose => true)
45
27
  end
46
28
  end
47
29
 
30
+ __END__
31
+
48
32
  desc 'Generate meta deb package'
49
33
  task :build_deb do
50
34
  control = <<-EOF
data/TODO ADDED
@@ -0,0 +1 @@
1
+ - Sort movies in offline mode
data/bin/gimdb CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $GIMDB_PATH = "#{File.dirname(__FILE__)}/.."
4
- $DOMAIN = 'gimdb'
5
- $LOCALEDIR = "#{$GIMDB_PATH}/data/locale"
3
+ $APP_PATH = File.expand_path("#{File.dirname(__FILE__)}/..")
4
+ $DOMAIN = 'gimdb'
5
+ $LOCALEDIR = "#{$APP_PATH}/data/locale"
6
6
 
7
- require "#{$GIMDB_PATH}/src/gimdb.rb"
7
+ require "#{$APP_PATH}/lib/gimdb/gimdb.rb"
8
8
 
9
- GimdbGlade.new("#{$GIMDB_PATH}/data/gimdb.glade")
9
+ Gimdb.new("#{$APP_PATH}/data/gimdb.ui")
10
10
  Gtk.main
@@ -1,213 +1,196 @@
1
- <?xml version="1.0"?>
2
- <glade-interface>
3
- <!-- interface-requires gtk+ 2.16 -->
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <interface>
3
+ <requires lib="gtk+" version="2.16"/>
4
4
  <!-- interface-naming-policy project-wide -->
5
- <widget class="GtkWindow" id="window">
5
+ <object class="GtkWindow" id="window">
6
6
  <property name="visible">True</property>
7
7
  <property name="title" translatable="yes">GIMDB</property>
8
8
  <property name="window_position">center</property>
9
9
  <property name="icon">icons/gimdb.png</property>
10
10
  <child>
11
- <widget class="GtkVBox" id="vbox1">
11
+ <object class="GtkVBox" id="vbox1">
12
12
  <property name="visible">True</property>
13
13
  <child>
14
- <widget class="GtkMenuBar" id="menubar">
14
+ <object class="GtkMenuBar" id="menubar">
15
15
  <property name="visible">True</property>
16
16
  <child>
17
- <widget class="GtkMenuItem" id="menuitem1">
17
+ <object class="GtkMenuItem" id="menuitem1">
18
18
  <property name="visible">True</property>
19
19
  <property name="label" translatable="yes">_File</property>
20
20
  <property name="use_underline">True</property>
21
- <child>
22
- <widget class="GtkMenu" id="menu1">
21
+ <child type="submenu">
22
+ <object class="GtkMenu" id="menu1">
23
23
  <property name="visible">True</property>
24
24
  <child>
25
- <widget class="GtkImageMenuItem" id="imagemenuitem1">
25
+ <object class="GtkImageMenuItem" id="imagemenuitem1">
26
26
  <property name="label">gtk-find</property>
27
27
  <property name="visible">True</property>
28
28
  <property name="use_underline">True</property>
29
29
  <property name="use_stock">True</property>
30
30
  <property name="always_show_image">True</property>
31
31
  <signal name="button_press_event" handler="on_search_clicked"/>
32
- </widget>
32
+ </object>
33
33
  </child>
34
34
  <child>
35
- <widget class="GtkImageMenuItem" id="imagemenuitem3">
35
+ <object class="GtkImageMenuItem" id="imagemenuitem3">
36
36
  <property name="label">gtk-go-forward</property>
37
37
  <property name="visible">True</property>
38
38
  <property name="use_underline">True</property>
39
39
  <property name="use_stock">True</property>
40
40
  <property name="always_show_image">True</property>
41
41
  <signal name="button_press_event" handler="on_get_more_movies_clicked"/>
42
- </widget>
42
+ </object>
43
43
  </child>
44
44
  <child>
45
- <widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
45
+ <object class="GtkImageMenuItem" id="menuitem2">
46
+ <property name="label">gtk-stop</property>
46
47
  <property name="visible">True</property>
47
- </widget>
48
+ <property name="use_underline">True</property>
49
+ <property name="use_stock">True</property>
50
+ <property name="always_show_image">True</property>
51
+ <signal name="button_press_event" handler="on_cancel_clicked"/>
52
+ </object>
48
53
  </child>
49
54
  <child>
50
- <widget class="GtkImageMenuItem" id="imagemenuitem6">
55
+ <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
56
+ <property name="visible">True</property>
57
+ </object>
58
+ </child>
59
+ <child>
60
+ <object class="GtkImageMenuItem" id="imagemenuitem6">
51
61
  <property name="label" translatable="yes">Show movies to see</property>
52
62
  <property name="visible">True</property>
63
+ <property name="image">image1</property>
53
64
  <property name="use_stock">False</property>
54
65
  <property name="always_show_image">True</property>
55
66
  <signal name="button_press_event" handler="on_show_to_see_clicked"/>
56
- <child internal-child="image">
57
- <widget class="GtkImage" id="image3">
58
- <property name="visible">True</property>
59
- <property name="pixbuf">icons/to_see.png</property>
60
- </widget>
61
- </child>
62
- </widget>
67
+ </object>
63
68
  </child>
64
69
  <child>
65
- <widget class="GtkImageMenuItem" id="imagemenuitem7">
70
+ <object class="GtkImageMenuItem" id="imagemenuitem7">
66
71
  <property name="label" translatable="yes">Show movies seen</property>
67
72
  <property name="visible">True</property>
73
+ <property name="image">image2</property>
68
74
  <property name="use_stock">False</property>
69
75
  <property name="always_show_image">True</property>
70
76
  <signal name="button_press_event" handler="on_show_seen_clicked"/>
71
- <child internal-child="image">
72
- <widget class="GtkImage" id="image4">
73
- <property name="visible">True</property>
74
- <property name="pixbuf">icons/seen.png</property>
75
- </widget>
76
- </child>
77
- </widget>
77
+ </object>
78
78
  </child>
79
79
  <child>
80
- <widget class="GtkImageMenuItem" id="imagemenuitem8">
80
+ <object class="GtkImageMenuItem" id="imagemenuitem8">
81
81
  <property name="label" translatable="yes">Show favourites movies</property>
82
82
  <property name="visible">True</property>
83
+ <property name="image">image3</property>
83
84
  <property name="use_stock">False</property>
84
85
  <property name="always_show_image">True</property>
85
86
  <signal name="button_press_event" handler="on_show_favourites_clicked"/>
86
- <child internal-child="image">
87
- <widget class="GtkImage" id="image5">
88
- <property name="visible">True</property>
89
- <property name="pixbuf">icons/favourites.png</property>
90
- </widget>
91
- </child>
92
- </widget>
87
+ </object>
93
88
  </child>
94
89
  <child>
95
- <widget class="GtkSeparatorMenuItem" id="separatormenuitem3">
90
+ <object class="GtkSeparatorMenuItem" id="separatormenuitem3">
96
91
  <property name="visible">True</property>
97
- </widget>
92
+ </object>
98
93
  </child>
99
94
  <child>
100
- <widget class="GtkCheckMenuItem" id="imagemenuitem4">
95
+ <object class="GtkCheckMenuItem" id="imagemenuitem4">
101
96
  <property name="visible">True</property>
102
97
  <property name="label" translatable="yes">Work offline</property>
103
98
  <property name="use_underline">True</property>
104
99
  <signal name="button_press_event" handler="on_work_offline_clicked"/>
105
- </widget>
100
+ </object>
106
101
  </child>
107
102
  <child>
108
- <widget class="GtkImageMenuItem" id="imagemenuitem5">
103
+ <object class="GtkImageMenuItem" id="imagemenuitem5">
109
104
  <property name="label">gtk-quit</property>
110
105
  <property name="visible">True</property>
111
106
  <property name="use_underline">True</property>
112
107
  <property name="use_stock">True</property>
113
108
  <property name="always_show_image">True</property>
114
109
  <signal name="button_press_event" handler="on_quit_clicked"/>
115
- </widget>
110
+ </object>
116
111
  </child>
117
- </widget>
112
+ </object>
118
113
  </child>
119
- </widget>
114
+ </object>
120
115
  </child>
121
116
  <child>
122
- <widget class="GtkMenuItem" id="menuitem3">
117
+ <object class="GtkMenuItem" id="menuitem3">
123
118
  <property name="visible">True</property>
124
119
  <property name="label" translatable="yes">_View</property>
125
120
  <property name="use_underline">True</property>
126
- <child>
127
- <widget class="GtkMenu" id="menu4">
121
+ <child type="submenu">
122
+ <object class="GtkMenu" id="menu4">
128
123
  <property name="visible">True</property>
129
124
  <child>
130
- <widget class="GtkImageMenuItem" id="users_menu_item">
125
+ <object class="GtkImageMenuItem" id="users_menu_item">
131
126
  <property name="label" translatable="yes">Select users</property>
132
127
  <property name="visible">True</property>
133
- <property name="tooltip" translatable="yes">Select users to manage</property>
128
+ <property name="image">image4</property>
134
129
  <property name="use_stock">False</property>
135
130
  <property name="always_show_image">True</property>
136
- <child internal-child="image">
137
- <widget class="GtkImage" id="image2">
138
- <property name="visible">True</property>
139
- <property name="pixbuf">icons/users.png</property>
140
- </widget>
141
- </child>
142
- </widget>
131
+ </object>
143
132
  </child>
144
133
  <child>
145
- <widget class="GtkImageMenuItem" id="manage_users_menu_item">
134
+ <object class="GtkImageMenuItem" id="manage_users_menu_item">
146
135
  <property name="label" translatable="yes">Edit users</property>
147
136
  <property name="visible">True</property>
148
- <property name="tooltip" translatable="yes">Add or remove users</property>
137
+ <property name="image">image5</property>
149
138
  <property name="use_stock">False</property>
150
139
  <property name="always_show_image">True</property>
151
140
  <signal name="button_press_event" handler="on_manage_users_clicked"/>
152
- <child internal-child="image">
153
- <widget class="GtkImage" id="image1">
154
- <property name="visible">True</property>
155
- <property name="pixbuf">icons/users_edit.png</property>
156
- </widget>
157
- </child>
158
- </widget>
141
+ </object>
159
142
  </child>
160
143
  <child>
161
- <widget class="GtkSeparatorMenuItem" id="separatormenuitem2">
144
+ <object class="GtkSeparatorMenuItem" id="separatormenuitem2">
162
145
  <property name="visible">True</property>
163
- </widget>
146
+ </object>
164
147
  </child>
165
148
  <child>
166
- <widget class="GtkCheckMenuItem" id="checkmenuitem1">
149
+ <object class="GtkCheckMenuItem" id="checkmenuitem1">
167
150
  <property name="visible">True</property>
168
151
  <property name="label" translatable="yes">Show sidebar</property>
169
152
  <property name="use_underline">True</property>
170
153
  <property name="active">True</property>
171
154
  <signal name="toggled" handler="on_show_sidebar"/>
172
- </widget>
155
+ </object>
173
156
  </child>
174
157
  <child>
175
- <widget class="GtkImageMenuItem" id="imagemenuitem2">
158
+ <object class="GtkImageMenuItem" id="imagemenuitem2">
176
159
  <property name="label">gtk-clear</property>
177
160
  <property name="visible">True</property>
178
161
  <property name="use_underline">True</property>
179
162
  <property name="use_stock">True</property>
180
163
  <property name="always_show_image">True</property>
181
164
  <signal name="button_press_event" handler="on_clean_clicked"/>
182
- </widget>
165
+ </object>
183
166
  </child>
184
- </widget>
167
+ </object>
185
168
  </child>
186
- </widget>
169
+ </object>
187
170
  </child>
188
171
  <child>
189
- <widget class="GtkMenuItem" id="menuitem4">
172
+ <object class="GtkMenuItem" id="menuitem4">
190
173
  <property name="visible">True</property>
191
174
  <property name="label" translatable="yes">_Help</property>
192
175
  <property name="use_underline">True</property>
193
- <child>
194
- <widget class="GtkMenu" id="menu3">
176
+ <child type="submenu">
177
+ <object class="GtkMenu" id="menu3">
195
178
  <property name="visible">True</property>
196
179
  <signal name="button_press_event" handler="on_about_clicked"/>
197
180
  <child>
198
- <widget class="GtkImageMenuItem" id="imagemenuitem10">
181
+ <object class="GtkImageMenuItem" id="imagemenuitem10">
199
182
  <property name="label">gtk-about</property>
200
183
  <property name="visible">True</property>
201
184
  <property name="use_underline">True</property>
202
185
  <property name="use_stock">True</property>
203
186
  <property name="always_show_image">True</property>
204
- </widget>
187
+ </object>
205
188
  </child>
206
- </widget>
189
+ </object>
207
190
  </child>
208
- </widget>
191
+ </object>
209
192
  </child>
210
- </widget>
193
+ </object>
211
194
  <packing>
212
195
  <property name="expand">False</property>
213
196
  <property name="fill">False</property>
@@ -215,20 +198,20 @@
215
198
  </packing>
216
199
  </child>
217
200
  <child>
218
- <widget class="GtkHBox" id="hbox1">
201
+ <object class="GtkHBox" id="hbox1">
219
202
  <property name="visible">True</property>
220
203
  <property name="border_width">2</property>
221
204
  <property name="spacing">5</property>
222
205
  <child>
223
- <widget class="GtkVBox" id="sidebar">
206
+ <object class="GtkVBox" id="sidebar">
224
207
  <property name="visible">True</property>
225
208
  <child>
226
- <widget class="GtkEntry" id="entry_title">
209
+ <object class="GtkEntry" id="entry_title">
227
210
  <property name="visible">True</property>
228
211
  <property name="can_focus">True</property>
229
- <property name="invisible_char">&#x25CF;</property>
212
+ <property name="invisible_char">●</property>
230
213
  <signal name="key_press_event" handler="on_key_press"/>
231
- </widget>
214
+ </object>
232
215
  <packing>
233
216
  <property name="expand">False</property>
234
217
  <property name="fill">False</property>
@@ -236,133 +219,109 @@
236
219
  </packing>
237
220
  </child>
238
221
  <child>
239
- <widget class="GtkTable" id="table2">
222
+ <object class="GtkTable" id="table2">
240
223
  <property name="visible">True</property>
241
224
  <property name="n_rows">2</property>
242
225
  <property name="n_columns">4</property>
243
226
  <child>
244
- <widget class="GtkSpinButton" id="spin_year_from">
227
+ <object class="GtkSpinButton" id="spin_year_from">
245
228
  <property name="visible">True</property>
246
229
  <property name="can_focus">True</property>
247
230
  <property name="max_length">4</property>
248
- <property name="invisible_char">&#x25CF;</property>
231
+ <property name="invisible_char">●</property>
249
232
  <property name="activates_default">True</property>
250
233
  <property name="width_chars">4</property>
251
234
  <property name="primary_icon_stock">gtk-media-next</property>
252
- <property name="adjustment">1970 1900 9999 1 10 0</property>
253
235
  <property name="numeric">True</property>
254
- </widget>
236
+ </object>
255
237
  <packing>
256
238
  <property name="left_attach">1</property>
257
239
  <property name="right_attach">2</property>
258
240
  </packing>
259
241
  </child>
260
242
  <child>
261
- <widget class="GtkSpinButton" id="spin_year_to">
243
+ <object class="GtkSpinButton" id="spin_year_to">
262
244
  <property name="visible">True</property>
263
245
  <property name="can_focus">True</property>
264
246
  <property name="max_length">4</property>
265
- <property name="invisible_char">&#x25CF;</property>
247
+ <property name="invisible_char">●</property>
266
248
  <property name="width_chars">4</property>
267
249
  <property name="primary_icon_stock">gtk-media-rewind</property>
268
- <property name="adjustment">2020 1900 9999 1 10 0</property>
269
250
  <property name="numeric">True</property>
270
- </widget>
251
+ </object>
271
252
  <packing>
272
253
  <property name="left_attach">3</property>
273
254
  <property name="right_attach">4</property>
274
255
  </packing>
275
256
  </child>
276
257
  <child>
277
- <widget class="GtkComboBox" id="combo_rating_from">
258
+ <object class="GtkLabel" id="label2">
278
259
  <property name="visible">True</property>
279
- <property name="wrap_width">5</property>
280
- <property name="items" translatable="yes">1
281
- 2
282
- 3
283
- 4
284
- 5
285
- 6
286
- 7
287
- 8
288
- 9
289
- 10</property>
290
- </widget>
260
+ <property name="label" translatable="yes">Year </property>
261
+ </object>
291
262
  <packing>
292
- <property name="left_attach">1</property>
293
- <property name="right_attach">2</property>
294
- <property name="top_attach">1</property>
295
- <property name="bottom_attach">2</property>
263
+ <property name="x_options">GTK_FILL</property>
296
264
  </packing>
297
265
  </child>
298
266
  <child>
299
- <widget class="GtkComboBox" id="combo_rating_to">
267
+ <object class="GtkLabel" id="label3">
300
268
  <property name="visible">True</property>
301
- <property name="wrap_width">5</property>
302
- <property name="items" translatable="yes">1
303
- 2
304
- 3
305
- 4
306
- 5
307
- 6
308
- 7
309
- 8
310
- 9
311
- 10</property>
312
- </widget>
269
+ <property name="label" translatable="yes"> to </property>
270
+ </object>
313
271
  <packing>
314
- <property name="left_attach">3</property>
315
- <property name="right_attach">4</property>
316
- <property name="top_attach">1</property>
317
- <property name="bottom_attach">2</property>
272
+ <property name="left_attach">2</property>
273
+ <property name="right_attach">3</property>
274
+ <property name="x_options">GTK_FILL</property>
318
275
  </packing>
319
276
  </child>
320
277
  <child>
321
- <widget class="GtkLabel" id="label2">
278
+ <object class="GtkLabel" id="label4">
322
279
  <property name="visible">True</property>
323
- <property name="label" translatable="yes">Year </property>
324
- </widget>
280
+ <property name="yalign">0.47999998927116394</property>
281
+ <property name="label" translatable="yes">Vote </property>
282
+ </object>
325
283
  <packing>
284
+ <property name="top_attach">1</property>
285
+ <property name="bottom_attach">2</property>
326
286
  <property name="x_options">GTK_FILL</property>
327
287
  </packing>
328
288
  </child>
329
289
  <child>
330
- <widget class="GtkLabel" id="label3">
290
+ <object class="GtkLabel" id="label5">
331
291
  <property name="visible">True</property>
332
292
  <property name="label" translatable="yes"> to </property>
333
- </widget>
293
+ </object>
334
294
  <packing>
335
295
  <property name="left_attach">2</property>
336
296
  <property name="right_attach">3</property>
297
+ <property name="top_attach">1</property>
298
+ <property name="bottom_attach">2</property>
337
299
  <property name="x_options">GTK_FILL</property>
338
300
  </packing>
339
301
  </child>
340
302
  <child>
341
- <widget class="GtkLabel" id="label4">
303
+ <object class="GtkComboBox" id="combo_rating_from">
342
304
  <property name="visible">True</property>
343
- <property name="yalign">0.47999998927116394</property>
344
- <property name="label" translatable="yes">Vote </property>
345
- </widget>
305
+ </object>
346
306
  <packing>
307
+ <property name="left_attach">1</property>
308
+ <property name="right_attach">2</property>
347
309
  <property name="top_attach">1</property>
348
310
  <property name="bottom_attach">2</property>
349
- <property name="x_options">GTK_FILL</property>
350
311
  </packing>
351
312
  </child>
352
313
  <child>
353
- <widget class="GtkLabel" id="label5">
314
+ <object class="GtkComboBox" id="combo_rating_to">
354
315
  <property name="visible">True</property>
355
- <property name="label" translatable="yes"> to </property>
356
- </widget>
316
+ </object>
357
317
  <packing>
358
- <property name="left_attach">2</property>
359
- <property name="right_attach">3</property>
318
+ <property name="left_attach">3</property>
319
+ <property name="right_attach">4</property>
360
320
  <property name="top_attach">1</property>
361
321
  <property name="bottom_attach">2</property>
362
- <property name="x_options">GTK_FILL</property>
363
322
  </packing>
364
323
  </child>
365
- </widget>
324
+ </object>
366
325
  <packing>
367
326
  <property name="expand">False</property>
368
327
  <property name="fill">False</property>
@@ -370,51 +329,51 @@
370
329
  </packing>
371
330
  </child>
372
331
  <child>
373
- <widget class="GtkFrame" id="frame1">
332
+ <object class="GtkFrame" id="frame1">
374
333
  <property name="visible">True</property>
375
334
  <property name="border_width">5</property>
376
335
  <property name="label_xalign">0</property>
377
336
  <property name="shadow_type">in</property>
378
337
  <child>
379
- <widget class="GtkTable" id="table_check">
338
+ <object class="GtkTable" id="table_check">
380
339
  <property name="visible">True</property>
381
340
  <property name="n_rows">13</property>
382
341
  <property name="n_columns">2</property>
383
342
  <child>
384
- <widget class="GtkCheckButton" id="check_genres_all">
343
+ <object class="GtkCheckButton" id="check_genres_all">
385
344
  <property name="label" translatable="yes">All</property>
386
345
  <property name="visible">True</property>
387
346
  <property name="can_focus">True</property>
388
347
  <property name="receives_default">False</property>
389
348
  <property name="active">True</property>
390
349
  <property name="draw_indicator">True</property>
391
- </widget>
350
+ </object>
392
351
  <packing>
393
352
  <property name="left_attach">1</property>
394
353
  <property name="right_attach">2</property>
395
354
  </packing>
396
355
  </child>
397
356
  <child>
398
- <widget class="GtkCheckButton" id="check_genres_action">
357
+ <object class="GtkCheckButton" id="check_genres_action">
399
358
  <property name="label" translatable="yes">Action</property>
400
359
  <property name="visible">True</property>
401
360
  <property name="can_focus">True</property>
402
361
  <property name="receives_default">False</property>
403
362
  <property name="draw_indicator">True</property>
404
- </widget>
363
+ </object>
405
364
  <packing>
406
365
  <property name="top_attach">1</property>
407
366
  <property name="bottom_attach">2</property>
408
367
  </packing>
409
368
  </child>
410
369
  <child>
411
- <widget class="GtkCheckButton" id="check_genres_adventure">
370
+ <object class="GtkCheckButton" id="check_genres_adventure">
412
371
  <property name="label" translatable="yes">Adventure</property>
413
372
  <property name="visible">True</property>
414
373
  <property name="can_focus">True</property>
415
374
  <property name="receives_default">False</property>
416
375
  <property name="draw_indicator">True</property>
417
- </widget>
376
+ </object>
418
377
  <packing>
419
378
  <property name="left_attach">1</property>
420
379
  <property name="right_attach">2</property>
@@ -423,26 +382,26 @@
423
382
  </packing>
424
383
  </child>
425
384
  <child>
426
- <widget class="GtkCheckButton" id="check_genres_animation">
385
+ <object class="GtkCheckButton" id="check_genres_animation">
427
386
  <property name="label" translatable="yes">Animation</property>
428
387
  <property name="visible">True</property>
429
388
  <property name="can_focus">True</property>
430
389
  <property name="receives_default">False</property>
431
390
  <property name="draw_indicator">True</property>
432
- </widget>
391
+ </object>
433
392
  <packing>
434
393
  <property name="top_attach">2</property>
435
394
  <property name="bottom_attach">3</property>
436
395
  </packing>
437
396
  </child>
438
397
  <child>
439
- <widget class="GtkCheckButton" id="check_genres_biography">
398
+ <object class="GtkCheckButton" id="check_genres_biography">
440
399
  <property name="label" translatable="yes">Biography</property>
441
400
  <property name="visible">True</property>
442
401
  <property name="can_focus">True</property>
443
402
  <property name="receives_default">False</property>
444
403
  <property name="draw_indicator">True</property>
445
- </widget>
404
+ </object>
446
405
  <packing>
447
406
  <property name="left_attach">1</property>
448
407
  <property name="right_attach">2</property>
@@ -451,26 +410,26 @@
451
410
  </packing>
452
411
  </child>
453
412
  <child>
454
- <widget class="GtkCheckButton" id="check_genres_comedy">
413
+ <object class="GtkCheckButton" id="check_genres_comedy">
455
414
  <property name="label" translatable="yes">Comedy</property>
456
415
  <property name="visible">True</property>
457
416
  <property name="can_focus">True</property>
458
417
  <property name="receives_default">False</property>
459
418
  <property name="draw_indicator">True</property>
460
- </widget>
419
+ </object>
461
420
  <packing>
462
421
  <property name="top_attach">3</property>
463
422
  <property name="bottom_attach">4</property>
464
423
  </packing>
465
424
  </child>
466
425
  <child>
467
- <widget class="GtkCheckButton" id="check_genres_crime">
426
+ <object class="GtkCheckButton" id="check_genres_crime">
468
427
  <property name="label" translatable="yes">Crime</property>
469
428
  <property name="visible">True</property>
470
429
  <property name="can_focus">True</property>
471
430
  <property name="receives_default">False</property>
472
431
  <property name="draw_indicator">True</property>
473
- </widget>
432
+ </object>
474
433
  <packing>
475
434
  <property name="left_attach">1</property>
476
435
  <property name="right_attach">2</property>
@@ -479,26 +438,26 @@
479
438
  </packing>
480
439
  </child>
481
440
  <child>
482
- <widget class="GtkCheckButton" id="check_genres_documentary">
441
+ <object class="GtkCheckButton" id="check_genres_documentary">
483
442
  <property name="label" translatable="yes">Documentary</property>
484
443
  <property name="visible">True</property>
485
444
  <property name="can_focus">True</property>
486
445
  <property name="receives_default">False</property>
487
446
  <property name="draw_indicator">True</property>
488
- </widget>
447
+ </object>
489
448
  <packing>
490
449
  <property name="top_attach">4</property>
491
450
  <property name="bottom_attach">5</property>
492
451
  </packing>
493
452
  </child>
494
453
  <child>
495
- <widget class="GtkCheckButton" id="check_genres_drama">
454
+ <object class="GtkCheckButton" id="check_genres_drama">
496
455
  <property name="label" translatable="yes">Drama</property>
497
456
  <property name="visible">True</property>
498
457
  <property name="can_focus">True</property>
499
458
  <property name="receives_default">False</property>
500
459
  <property name="draw_indicator">True</property>
501
- </widget>
460
+ </object>
502
461
  <packing>
503
462
  <property name="left_attach">1</property>
504
463
  <property name="right_attach">2</property>
@@ -507,26 +466,26 @@
507
466
  </packing>
508
467
  </child>
509
468
  <child>
510
- <widget class="GtkCheckButton" id="check_genres_family">
469
+ <object class="GtkCheckButton" id="check_genres_family">
511
470
  <property name="label" translatable="yes">Family</property>
512
471
  <property name="visible">True</property>
513
472
  <property name="can_focus">True</property>
514
473
  <property name="receives_default">False</property>
515
474
  <property name="draw_indicator">True</property>
516
- </widget>
475
+ </object>
517
476
  <packing>
518
477
  <property name="top_attach">5</property>
519
478
  <property name="bottom_attach">6</property>
520
479
  </packing>
521
480
  </child>
522
481
  <child>
523
- <widget class="GtkCheckButton" id="check_genres_fantasy">
482
+ <object class="GtkCheckButton" id="check_genres_fantasy">
524
483
  <property name="label" translatable="yes">Fantasy</property>
525
484
  <property name="visible">True</property>
526
485
  <property name="can_focus">True</property>
527
486
  <property name="receives_default">False</property>
528
487
  <property name="draw_indicator">True</property>
529
- </widget>
488
+ </object>
530
489
  <packing>
531
490
  <property name="left_attach">1</property>
532
491
  <property name="right_attach">2</property>
@@ -535,26 +494,26 @@
535
494
  </packing>
536
495
  </child>
537
496
  <child>
538
- <widget class="GtkCheckButton" id="check_genres_film_noir">
497
+ <object class="GtkCheckButton" id="check_genres_film_noir">
539
498
  <property name="label" translatable="yes">Film-noir</property>
540
499
  <property name="visible">True</property>
541
500
  <property name="can_focus">True</property>
542
501
  <property name="receives_default">False</property>
543
502
  <property name="draw_indicator">True</property>
544
- </widget>
503
+ </object>
545
504
  <packing>
546
505
  <property name="top_attach">6</property>
547
506
  <property name="bottom_attach">7</property>
548
507
  </packing>
549
508
  </child>
550
509
  <child>
551
- <widget class="GtkCheckButton" id="check_genres_game_show">
510
+ <object class="GtkCheckButton" id="check_genres_game_show">
552
511
  <property name="label" translatable="yes">Game-show</property>
553
512
  <property name="visible">True</property>
554
513
  <property name="can_focus">True</property>
555
514
  <property name="receives_default">False</property>
556
515
  <property name="draw_indicator">True</property>
557
- </widget>
516
+ </object>
558
517
  <packing>
559
518
  <property name="left_attach">1</property>
560
519
  <property name="right_attach">2</property>
@@ -563,26 +522,26 @@
563
522
  </packing>
564
523
  </child>
565
524
  <child>
566
- <widget class="GtkCheckButton" id="check_genres_history">
525
+ <object class="GtkCheckButton" id="check_genres_history">
567
526
  <property name="label" translatable="yes">History</property>
568
527
  <property name="visible">True</property>
569
528
  <property name="can_focus">True</property>
570
529
  <property name="receives_default">False</property>
571
530
  <property name="draw_indicator">True</property>
572
- </widget>
531
+ </object>
573
532
  <packing>
574
533
  <property name="top_attach">7</property>
575
534
  <property name="bottom_attach">8</property>
576
535
  </packing>
577
536
  </child>
578
537
  <child>
579
- <widget class="GtkCheckButton" id="check_genres_horror">
538
+ <object class="GtkCheckButton" id="check_genres_horror">
580
539
  <property name="label" translatable="yes">Horror</property>
581
540
  <property name="visible">True</property>
582
541
  <property name="can_focus">True</property>
583
542
  <property name="receives_default">False</property>
584
543
  <property name="draw_indicator">True</property>
585
- </widget>
544
+ </object>
586
545
  <packing>
587
546
  <property name="left_attach">1</property>
588
547
  <property name="right_attach">2</property>
@@ -591,26 +550,26 @@
591
550
  </packing>
592
551
  </child>
593
552
  <child>
594
- <widget class="GtkCheckButton" id="check_genres_music">
553
+ <object class="GtkCheckButton" id="check_genres_music">
595
554
  <property name="label" translatable="yes">Music</property>
596
555
  <property name="visible">True</property>
597
556
  <property name="can_focus">True</property>
598
557
  <property name="receives_default">False</property>
599
558
  <property name="draw_indicator">True</property>
600
- </widget>
559
+ </object>
601
560
  <packing>
602
561
  <property name="top_attach">8</property>
603
562
  <property name="bottom_attach">9</property>
604
563
  </packing>
605
564
  </child>
606
565
  <child>
607
- <widget class="GtkCheckButton" id="check_genres_musical">
566
+ <object class="GtkCheckButton" id="check_genres_musical">
608
567
  <property name="label" translatable="yes">Musical</property>
609
568
  <property name="visible">True</property>
610
569
  <property name="can_focus">True</property>
611
570
  <property name="receives_default">False</property>
612
571
  <property name="draw_indicator">True</property>
613
- </widget>
572
+ </object>
614
573
  <packing>
615
574
  <property name="left_attach">1</property>
616
575
  <property name="right_attach">2</property>
@@ -619,26 +578,26 @@
619
578
  </packing>
620
579
  </child>
621
580
  <child>
622
- <widget class="GtkCheckButton" id="check_genres_mystery">
581
+ <object class="GtkCheckButton" id="check_genres_mystery">
623
582
  <property name="label" translatable="yes">Mystery</property>
624
583
  <property name="visible">True</property>
625
584
  <property name="can_focus">True</property>
626
585
  <property name="receives_default">False</property>
627
586
  <property name="draw_indicator">True</property>
628
- </widget>
587
+ </object>
629
588
  <packing>
630
589
  <property name="top_attach">9</property>
631
590
  <property name="bottom_attach">10</property>
632
591
  </packing>
633
592
  </child>
634
593
  <child>
635
- <widget class="GtkCheckButton" id="check_genres_news">
594
+ <object class="GtkCheckButton" id="check_genres_news">
636
595
  <property name="label" translatable="yes">News</property>
637
596
  <property name="visible">True</property>
638
597
  <property name="can_focus">True</property>
639
598
  <property name="receives_default">False</property>
640
599
  <property name="draw_indicator">True</property>
641
- </widget>
600
+ </object>
642
601
  <packing>
643
602
  <property name="left_attach">1</property>
644
603
  <property name="right_attach">2</property>
@@ -647,26 +606,26 @@
647
606
  </packing>
648
607
  </child>
649
608
  <child>
650
- <widget class="GtkCheckButton" id="check_genres_romance">
609
+ <object class="GtkCheckButton" id="check_genres_romance">
651
610
  <property name="label" translatable="yes">Romance</property>
652
611
  <property name="visible">True</property>
653
612
  <property name="can_focus">True</property>
654
613
  <property name="receives_default">False</property>
655
614
  <property name="draw_indicator">True</property>
656
- </widget>
615
+ </object>
657
616
  <packing>
658
617
  <property name="top_attach">10</property>
659
618
  <property name="bottom_attach">11</property>
660
619
  </packing>
661
620
  </child>
662
621
  <child>
663
- <widget class="GtkCheckButton" id="check_genres_sci_fi">
622
+ <object class="GtkCheckButton" id="check_genres_sci_fi">
664
623
  <property name="label" translatable="yes">Sci-Fi</property>
665
624
  <property name="visible">True</property>
666
625
  <property name="can_focus">True</property>
667
626
  <property name="receives_default">False</property>
668
627
  <property name="draw_indicator">True</property>
669
- </widget>
628
+ </object>
670
629
  <packing>
671
630
  <property name="left_attach">1</property>
672
631
  <property name="right_attach">2</property>
@@ -675,26 +634,26 @@
675
634
  </packing>
676
635
  </child>
677
636
  <child>
678
- <widget class="GtkCheckButton" id="check_genres_sport">
637
+ <object class="GtkCheckButton" id="check_genres_sport">
679
638
  <property name="label" translatable="yes">Sport</property>
680
639
  <property name="visible">True</property>
681
640
  <property name="can_focus">True</property>
682
641
  <property name="receives_default">False</property>
683
642
  <property name="draw_indicator">True</property>
684
- </widget>
643
+ </object>
685
644
  <packing>
686
645
  <property name="top_attach">11</property>
687
646
  <property name="bottom_attach">12</property>
688
647
  </packing>
689
648
  </child>
690
649
  <child>
691
- <widget class="GtkCheckButton" id="check_genres_thriller">
650
+ <object class="GtkCheckButton" id="check_genres_thriller">
692
651
  <property name="label" translatable="yes">Thriller</property>
693
652
  <property name="visible">True</property>
694
653
  <property name="can_focus">True</property>
695
654
  <property name="receives_default">False</property>
696
655
  <property name="draw_indicator">True</property>
697
- </widget>
656
+ </object>
698
657
  <packing>
699
658
  <property name="left_attach">1</property>
700
659
  <property name="right_attach">2</property>
@@ -703,26 +662,26 @@
703
662
  </packing>
704
663
  </child>
705
664
  <child>
706
- <widget class="GtkCheckButton" id="check_genres_war">
665
+ <object class="GtkCheckButton" id="check_genres_war">
707
666
  <property name="label" translatable="yes">War</property>
708
667
  <property name="visible">True</property>
709
668
  <property name="can_focus">True</property>
710
669
  <property name="receives_default">False</property>
711
670
  <property name="draw_indicator">True</property>
712
- </widget>
671
+ </object>
713
672
  <packing>
714
673
  <property name="top_attach">12</property>
715
674
  <property name="bottom_attach">13</property>
716
675
  </packing>
717
676
  </child>
718
677
  <child>
719
- <widget class="GtkCheckButton" id="check_genres_western">
678
+ <object class="GtkCheckButton" id="check_genres_western">
720
679
  <property name="label" translatable="yes">Western</property>
721
680
  <property name="visible">True</property>
722
681
  <property name="can_focus">True</property>
723
682
  <property name="receives_default">False</property>
724
683
  <property name="draw_indicator">True</property>
725
- </widget>
684
+ </object>
726
685
  <packing>
727
686
  <property name="left_attach">1</property>
728
687
  <property name="right_attach">2</property>
@@ -733,19 +692,16 @@
733
692
  <child>
734
693
  <placeholder/>
735
694
  </child>
736
- </widget>
695
+ </object>
737
696
  </child>
738
- <child>
739
- <widget class="GtkLabel" id="label1">
697
+ <child type="label">
698
+ <object class="GtkLabel" id="label1">
740
699
  <property name="visible">True</property>
741
700
  <property name="label" translatable="yes">&lt;b&gt;Genres&lt;/b&gt;</property>
742
701
  <property name="use_markup">True</property>
743
- </widget>
744
- <packing>
745
- <property name="type">label_item</property>
746
- </packing>
702
+ </object>
747
703
  </child>
748
- </widget>
704
+ </object>
749
705
  <packing>
750
706
  <property name="expand">False</property>
751
707
  <property name="fill">False</property>
@@ -754,46 +710,30 @@
754
710
  </packing>
755
711
  </child>
756
712
  <child>
757
- <widget class="GtkVBox" id="vbox4">
713
+ <object class="GtkVBox" id="vbox4">
758
714
  <property name="visible">True</property>
759
715
  <child>
760
- <widget class="GtkTable" id="table1">
716
+ <object class="GtkTable" id="table1">
761
717
  <property name="visible">True</property>
762
718
  <property name="n_columns">3</property>
763
719
  <child>
764
- <widget class="GtkLabel" id="label6">
720
+ <object class="GtkLabel" id="label6">
765
721
  <property name="visible">True</property>
766
722
  <property name="label" translatable="yes">Sort </property>
767
- </widget>
723
+ </object>
768
724
  <packing>
769
725
  <property name="x_options">GTK_FILL</property>
770
726
  <property name="y_options">GTK_FILL</property>
771
727
  </packing>
772
728
  </child>
773
729
  <child>
774
- <widget class="GtkComboBox" id="combo_sort">
775
- <property name="visible">True</property>
776
- <property name="items" translatable="yes">Movie meter
777
- A-Z
778
- Rating
779
- Number of votes
780
- Runtime
781
- Year</property>
782
- </widget>
783
- <packing>
784
- <property name="left_attach">1</property>
785
- <property name="right_attach">2</property>
786
- <property name="y_options">GTK_FILL</property>
787
- </packing>
788
- </child>
789
- <child>
790
- <widget class="GtkToggleButton" id="toggle_sort">
730
+ <object class="GtkToggleButton" id="toggle_sort">
791
731
  <property name="label" translatable="yes">DESC</property>
792
732
  <property name="visible">True</property>
793
733
  <property name="can_focus">True</property>
794
734
  <property name="receives_default">True</property>
795
735
  <property name="draw_indicator">True</property>
796
- </widget>
736
+ </object>
797
737
  <packing>
798
738
  <property name="left_attach">2</property>
799
739
  <property name="right_attach">3</property>
@@ -801,27 +741,37 @@ Year</property>
801
741
  <property name="y_options">GTK_FILL</property>
802
742
  </packing>
803
743
  </child>
804
- </widget>
744
+ <child>
745
+ <object class="GtkComboBox" id="combo_sort">
746
+ <property name="visible">True</property>
747
+ </object>
748
+ <packing>
749
+ <property name="left_attach">1</property>
750
+ <property name="right_attach">2</property>
751
+ <property name="y_options">GTK_FILL</property>
752
+ </packing>
753
+ </child>
754
+ </object>
805
755
  <packing>
806
756
  <property name="position">0</property>
807
757
  </packing>
808
758
  </child>
809
- </widget>
759
+ </object>
810
760
  <packing>
811
761
  <property name="position">5</property>
812
762
  </packing>
813
763
  </child>
814
764
  <child>
815
- <widget class="GtkVBox" id="vbox3">
765
+ <object class="GtkVBox" id="vbox3">
816
766
  <property name="visible">True</property>
817
767
  <child>
818
- <widget class="GtkCheckButton" id="check_hide_seen">
768
+ <object class="GtkCheckButton" id="check_hide_seen">
819
769
  <property name="label" translatable="yes">Hide seen</property>
820
770
  <property name="visible">True</property>
821
771
  <property name="can_focus">True</property>
822
772
  <property name="receives_default">False</property>
823
773
  <property name="draw_indicator">True</property>
824
- </widget>
774
+ </object>
825
775
  <packing>
826
776
  <property name="expand">False</property>
827
777
  <property name="fill">False</property>
@@ -829,13 +779,13 @@ Year</property>
829
779
  </packing>
830
780
  </child>
831
781
  <child>
832
- <widget class="GtkCheckButton" id="check_only_see">
782
+ <object class="GtkCheckButton" id="check_only_see">
833
783
  <property name="label" translatable="yes">Show only to see</property>
834
784
  <property name="visible">True</property>
835
785
  <property name="can_focus">True</property>
836
786
  <property name="receives_default">False</property>
837
787
  <property name="draw_indicator">True</property>
838
- </widget>
788
+ </object>
839
789
  <packing>
840
790
  <property name="expand">False</property>
841
791
  <property name="fill">False</property>
@@ -845,7 +795,7 @@ Year</property>
845
795
  <child>
846
796
  <placeholder/>
847
797
  </child>
848
- </widget>
798
+ </object>
849
799
  <packing>
850
800
  <property name="expand">False</property>
851
801
  <property name="fill">False</property>
@@ -853,9 +803,9 @@ Year</property>
853
803
  </packing>
854
804
  </child>
855
805
  <child>
856
- <widget class="GtkHSeparator" id="hseparator1">
806
+ <object class="GtkHSeparator" id="hseparator1">
857
807
  <property name="visible">True</property>
858
- </widget>
808
+ </object>
859
809
  <packing>
860
810
  <property name="expand">False</property>
861
811
  <property name="fill">False</property>
@@ -864,36 +814,49 @@ Year</property>
864
814
  </packing>
865
815
  </child>
866
816
  <child>
867
- <widget class="GtkHBox" id="hbox2">
817
+ <object class="GtkHBox" id="hbox2">
868
818
  <property name="visible">True</property>
869
819
  <child>
870
- <widget class="GtkButton" id="b_clean">
820
+ <object class="GtkButton" id="b_clean">
871
821
  <property name="label">gtk-clear</property>
872
822
  <property name="visible">True</property>
873
823
  <property name="can_focus">True</property>
874
824
  <property name="receives_default">True</property>
875
825
  <property name="use_stock">True</property>
876
826
  <signal name="clicked" handler="on_clean_clicked"/>
877
- </widget>
827
+ </object>
878
828
  <packing>
879
829
  <property name="position">0</property>
880
830
  </packing>
881
831
  </child>
882
832
  <child>
883
- <widget class="GtkButton" id="b_search">
833
+ <object class="GtkButton" id="b_search">
884
834
  <property name="label">gtk-find</property>
885
835
  <property name="visible">True</property>
886
836
  <property name="can_focus">True</property>
887
837
  <property name="receives_default">True</property>
888
838
  <property name="use_stock">True</property>
889
- <property name="image_position">right</property>
890
839
  <signal name="clicked" handler="on_search_clicked"/>
891
- </widget>
840
+ </object>
892
841
  <packing>
893
842
  <property name="position">1</property>
894
843
  </packing>
895
844
  </child>
896
- </widget>
845
+ <child>
846
+ <object class="GtkButton" id="b_cancel">
847
+ <property name="label">gtk-stop</property>
848
+ <property name="visible">True</property>
849
+ <property name="sensitive">False</property>
850
+ <property name="can_focus">True</property>
851
+ <property name="receives_default">True</property>
852
+ <property name="use_stock">True</property>
853
+ <signal name="clicked" handler="on_cancel_clicked"/>
854
+ </object>
855
+ <packing>
856
+ <property name="position">2</property>
857
+ </packing>
858
+ </child>
859
+ </object>
897
860
  <packing>
898
861
  <property name="expand">False</property>
899
862
  <property name="fill">False</property>
@@ -901,7 +864,7 @@ Year</property>
901
864
  <property name="position">3</property>
902
865
  </packing>
903
866
  </child>
904
- </widget>
867
+ </object>
905
868
  <packing>
906
869
  <property name="expand">False</property>
907
870
  <property name="fill">False</property>
@@ -909,8 +872,9 @@ Year</property>
909
872
  </packing>
910
873
  </child>
911
874
  <child>
912
- <widget class="GtkScrolledWindow" id="scrolled">
913
- <property name="width_request">640</property>
875
+ <object class="GtkScrolledWindow" id="scrolled">
876
+ <property name="width_request">800</property>
877
+ <property name="height_request">600</property>
914
878
  <property name="visible">True</property>
915
879
  <property name="can_focus">True</property>
916
880
  <property name="hscrollbar_policy">automatic</property>
@@ -918,38 +882,38 @@ Year</property>
918
882
  <child>
919
883
  <placeholder/>
920
884
  </child>
921
- </widget>
885
+ </object>
922
886
  <packing>
923
887
  <property name="position">1</property>
924
888
  </packing>
925
889
  </child>
926
- </widget>
890
+ </object>
927
891
  <packing>
928
892
  <property name="position">1</property>
929
893
  </packing>
930
894
  </child>
931
895
  <child>
932
- <widget class="GtkHSeparator" id="hseparator2">
896
+ <object class="GtkHSeparator" id="hseparator2">
933
897
  <property name="visible">True</property>
934
- </widget>
898
+ </object>
935
899
  <packing>
936
900
  <property name="expand">False</property>
937
901
  <property name="position">2</property>
938
902
  </packing>
939
903
  </child>
940
904
  <child>
941
- <widget class="GtkHBox" id="hbox3">
905
+ <object class="GtkHBox" id="hbox3">
942
906
  <property name="height_request">20</property>
943
907
  <property name="visible">True</property>
944
908
  <property name="border_width">2</property>
945
909
  <property name="spacing">5</property>
946
910
  <child>
947
- <widget class="GtkProgressBar" id="progress">
911
+ <object class="GtkProgressBar" id="progress">
948
912
  <property name="width_request">200</property>
949
913
  <property name="height_request">16</property>
950
914
  <property name="visible">True</property>
951
915
  <property name="show_text">True</property>
952
- </widget>
916
+ </object>
953
917
  <packing>
954
918
  <property name="expand">False</property>
955
919
  <property name="fill">False</property>
@@ -957,9 +921,9 @@ Year</property>
957
921
  </packing>
958
922
  </child>
959
923
  <child>
960
- <widget class="GtkLabel" id="label_status">
924
+ <object class="GtkLabel" id="label_status">
961
925
  <property name="visible">True</property>
962
- </widget>
926
+ </object>
963
927
  <packing>
964
928
  <property name="expand">False</property>
965
929
  <property name="fill">False</property>
@@ -967,12 +931,12 @@ Year</property>
967
931
  </packing>
968
932
  </child>
969
933
  <child>
970
- <widget class="GtkImage" id="image_connection">
934
+ <object class="GtkImage" id="image_connection">
971
935
  <property name="width_request">16</property>
972
936
  <property name="height_request">16</property>
973
937
  <property name="visible">True</property>
974
938
  <property name="stock">gtk-network</property>
975
- </widget>
939
+ </object>
976
940
  <packing>
977
941
  <property name="expand">False</property>
978
942
  <property name="fill">False</property>
@@ -981,12 +945,12 @@ Year</property>
981
945
  </packing>
982
946
  </child>
983
947
  <child>
984
- <widget class="GtkImage" id="image_spinner">
948
+ <object class="GtkImage" id="image_spinner">
985
949
  <property name="width_request">16</property>
986
950
  <property name="height_request">16</property>
987
951
  <property name="visible">True</property>
988
952
  <property name="stock">gtk-missing-image</property>
989
- </widget>
953
+ </object>
990
954
  <packing>
991
955
  <property name="expand">False</property>
992
956
  <property name="fill">False</property>
@@ -994,17 +958,17 @@ Year</property>
994
958
  <property name="position">1</property>
995
959
  </packing>
996
960
  </child>
997
- </widget>
961
+ </object>
998
962
  <packing>
999
963
  <property name="expand">False</property>
1000
964
  <property name="fill">False</property>
1001
965
  <property name="position">3</property>
1002
966
  </packing>
1003
967
  </child>
1004
- </widget>
968
+ </object>
1005
969
  </child>
1006
- </widget>
1007
- <widget class="GtkDialog" id="dialog_users">
970
+ </object>
971
+ <object class="GtkDialog" id="dialog_users">
1008
972
  <property name="border_width">5</property>
1009
973
  <property name="title" translatable="yes">Manage users</property>
1010
974
  <property name="resizable">False</property>
@@ -1016,16 +980,16 @@ Year</property>
1016
980
  <property name="skip_taskbar_hint">True</property>
1017
981
  <signal name="delete_event" handler="on_close_manage_users_clicked"/>
1018
982
  <child internal-child="vbox">
1019
- <widget class="GtkVBox" id="dialog-vbox1">
983
+ <object class="GtkVBox" id="dialog-vbox1">
1020
984
  <property name="visible">True</property>
1021
985
  <property name="spacing">2</property>
1022
986
  <child>
1023
- <widget class="GtkVBox" id="dialog_users_box">
987
+ <object class="GtkVBox" id="dialog_users_box">
1024
988
  <property name="visible">True</property>
1025
989
  <child>
1026
990
  <placeholder/>
1027
991
  </child>
1028
- </widget>
992
+ </object>
1029
993
  <packing>
1030
994
  <property name="expand">False</property>
1031
995
  <property name="fill">False</property>
@@ -1033,17 +997,17 @@ Year</property>
1033
997
  </packing>
1034
998
  </child>
1035
999
  <child internal-child="action_area">
1036
- <widget class="GtkHButtonBox" id="dialog-action_area1">
1000
+ <object class="GtkHButtonBox" id="dialog-action_area1">
1037
1001
  <property name="visible">True</property>
1038
1002
  <property name="layout_style">end</property>
1039
1003
  <child>
1040
- <widget class="GtkButton" id="select_all_users">
1004
+ <object class="GtkButton" id="select_all_users">
1041
1005
  <property name="label" translatable="yes">Select all users</property>
1042
1006
  <property name="visible">True</property>
1043
1007
  <property name="can_focus">True</property>
1044
1008
  <property name="receives_default">True</property>
1045
1009
  <signal name="clicked" handler="on_select_all_users_clicked"/>
1046
- </widget>
1010
+ </object>
1047
1011
  <packing>
1048
1012
  <property name="expand">False</property>
1049
1013
  <property name="fill">False</property>
@@ -1051,28 +1015,57 @@ Year</property>
1051
1015
  </packing>
1052
1016
  </child>
1053
1017
  <child>
1054
- <widget class="GtkButton" id="button2">
1018
+ <object class="GtkButton" id="button2">
1055
1019
  <property name="label">gtk-close</property>
1056
1020
  <property name="visible">True</property>
1057
1021
  <property name="can_focus">True</property>
1058
1022
  <property name="receives_default">True</property>
1059
1023
  <property name="use_stock">True</property>
1060
1024
  <signal name="clicked" handler="on_close_manage_users_clicked"/>
1061
- </widget>
1025
+ </object>
1062
1026
  <packing>
1063
1027
  <property name="expand">False</property>
1064
1028
  <property name="fill">False</property>
1065
1029
  <property name="position">1</property>
1066
1030
  </packing>
1067
1031
  </child>
1068
- </widget>
1032
+ </object>
1069
1033
  <packing>
1070
1034
  <property name="expand">False</property>
1071
1035
  <property name="pack_type">end</property>
1072
1036
  <property name="position">0</property>
1073
1037
  </packing>
1074
1038
  </child>
1075
- </widget>
1039
+ </object>
1076
1040
  </child>
1077
- </widget>
1078
- </glade-interface>
1041
+ <action-widgets>
1042
+ <action-widget response="0">select_all_users</action-widget>
1043
+ <action-widget response="0">button2</action-widget>
1044
+ </action-widgets>
1045
+ </object>
1046
+ <object class="GtkListStore" id="liststore1"/>
1047
+ <object class="GtkImage" id="image6">
1048
+ <property name="visible">True</property>
1049
+ <property name="stock">gtk-missing-image</property>
1050
+ </object>
1051
+ <object class="GtkImage" id="image1">
1052
+ <property name="visible">True</property>
1053
+ <property name="pixbuf">icons/to_see.png</property>
1054
+ </object>
1055
+ <object class="GtkImage" id="image2">
1056
+ <property name="visible">True</property>
1057
+ <property name="pixbuf">icons/seen.png</property>
1058
+ </object>
1059
+ <object class="GtkImage" id="image3">
1060
+ <property name="visible">True</property>
1061
+ <property name="pixbuf">icons/favourites.png</property>
1062
+ </object>
1063
+ <object class="GtkImage" id="image4">
1064
+ <property name="visible">True</property>
1065
+ <property name="pixbuf">icons/users.png</property>
1066
+ </object>
1067
+ <object class="GtkImage" id="image5">
1068
+ <property name="visible">True</property>
1069
+ <property name="pixbuf">icons/users_edit.png</property>
1070
+ </object>
1071
+ </interface>