[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-mnstbs-statb

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 28日 (日) 00:49:42 JST


-------------------------
REMOTE_ADDR = 74.14.158.59
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-statb
-------------------------
@@ -102,7 +102,7 @@
    fill.name  = "fill"
    clear.name = "clear"
  
-   smsgs = { "pulse" => "Pulse the progress bar one step.",
+   menu_hint_msgs = { "pulse" => "Pulse the progress bar one step.",
              "fill"  => "Set the progress bar to 100%.",
              "clear" => "Clear the progress bar to 0%."
    }
@@ -115,13 +115,13 @@
    fill.signal_connect('activate')  { fill_activated(sbar, progb) }
    clear.signal_connect('activate') { clear_activated(sbar, progb) }
    
-   pulse.signal_connect('enter_notify_event') { |w, e| statusbar_hint(w, e, sbar, smsgs) }
-   fill.signal_connect('enter_notify_event')  { |w, e| statusbar_hint(w, e, sbar, smsgs) }
-   clear.signal_connect('enter_notify_event') { |w, e| statusbar_hint(w, e, sbar, smsgs) }
+   pulse.signal_connect('enter_notify_event') { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
+   fill.signal_connect('enter_notify_event')  { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
+   clear.signal_connect('enter_notify_event') { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
  
-   pulse.signal_connect('leave_notify_event') { |w, e| statusbar_hint(w, e, sbar, smsgs) }
-   fill.signal_connect('leave_notify_event')  { |w, e| statusbar_hint(w, e, sbar, smsgs) }
-   clear.signal_connect('leave_notify_event') { |w, e| statusbar_hint(w, e, sbar, smsgs) }
+   pulse.signal_connect('leave_notify_event') { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
+   fill.signal_connect('leave_notify_event')  { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
+   clear.signal_connect('leave_notify_event') { |w, e| statusbar_hint(w, e, sbar, menu_hint_msgs) }
  
    menu.show_all
  end
@@ -207,6 +207,7 @@
  eventbox.realize
  window.show_all
  Gtk.main
+
 
 
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index