From: gc Date: Sun, 24 Feb 2008 16:50:23 +0000 (+0000) Subject: some help X-Git-Tag: 0.9.0~115 X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=c4a32246e748e023a589572d661fc17bd005b43a some help --- diff --git a/bin/booh-classifier b/bin/booh-classifier index 5b545ab..ad2e942 100644 --- a/bin/booh-classifier +++ b/bin/booh-classifier @@ -1147,7 +1147,7 @@ def execute dialog.title = utf8(_("Booh message")) vb1 = Gtk::VBox.new(false, 5) - label = Gtk::Label.new.set_markup(utf8(_("You're about to execute actions on the marked images.\nPlease confirm below the actions. This operation is not undoable!"))) + label = Gtk::Label.new.set_markup(utf8(_("You're about to execute actions on the marked images.\nPlease confirm below the actions. You cannot undo this operation!"))) vb1.pack_start(label, false, false) table = Gtk::Table.new(0, 0, false) @@ -1536,6 +1536,9 @@ def create_menubar helpmenu = Gtk::MenuItem.new(utf8(_("_Help"))) helpsubmenu = Gtk::Menu.new + helpsubmenu.append(howto = Gtk::ImageMenuItem.new(Gtk::Stock::HELP)) + helpsubmenu.append(speed = Gtk::ImageMenuItem.new(utf8(_("Speedup: key shortcuts")))) + speed.image = Gtk::Image.new("#{$FPATH}/images/stock-info-16.png") helpsubmenu.append(tutos = Gtk::ImageMenuItem.new(utf8(_("Online tutorials (opens a web-browser)")))) tutos.image = Gtk::Image.new("#{$FPATH}/images/stock-web-16.png") helpsubmenu.append(Gtk::SeparatorMenuItem.new) @@ -1543,6 +1546,41 @@ def create_menubar helpmenu.set_submenu(helpsubmenu) mb.append(helpmenu) + howto.signal_connect('activate') { + show_popup($main_window, utf8(_("Help + +1. Open a directory with File/Open; the classifier will scan it (including subdirectories) and +show thumbnails for all images and videos at the bottom. + +2. You can then navigate through images with the Left/Right keyboard keys, or by clicking +on thumbnails. + +3. You may associate a label to each thumbnail. Either hit the Delete key to associate +the built-in to remove label, or hit any alphabetical key to associate a label you define. +The first time you hit a key without any label associated, a popup will ask for the full +name of this label, and what color you want. To clear the current label, hit the Space key. + +4. To help you better view what thumbnails are associated to your labels, you may hide +some of them by unchecking the labels checkboxes on the left. + +5. Once you're finished reviewing all thumbnails, use File/Execute to execute the desired +actions on labels. +")), { :pos_centered => true, :not_transient => true }) + } + speed.signal_connect('activate') { + show_popup($main_window, utf8(_("Key shortcuts + +Left/Right: move left and right in images +Enter: 'view' current image: for images, display EXIF data; for videos, play it +Alt-Left/Right: rotate current image clockwise/counter-clockwise +Delete: assign the 'to remove' label on current image +Space: clear any label on current image +Control-z: undo +Control-r: redo + +Any alphabetical key will assign (or popup for) the associated label on current image. +")), { :pos_centered => true, :not_transient => true }) + } tutos.signal_connect('activate') { open_url('http://booh.org/tutorial.html') } about.signal_connect('activate') { call_about }