* Fixed a couple of menu items.

This commit is contained in:
Einar Ryeng 2006-04-22 21:56:30 +00:00
parent f484ec9945
commit 2da88a5128
2 changed files with 15 additions and 4 deletions

10
fluent
View File

@ -100,8 +100,9 @@ class FluentApp:
'on_appwindow_delete_event' : (gtk.main_quit),
'on_zoom_in_button_clicked' : (self.on_single_view),
'on_zoom_out_button_clicked' : (self.on_multiple_view),
'on_new1_activated' : (self.on_create_project),
'on_button_new_clicked' : (self.on_create_project)}
'on_new1_activate' : (self.on_create_project),
'on_button_new_clicked' : (self.on_create_project),
'on_about1_activate' : (self.on_help_about)}
self.widget_tree.signal_autoconnect(signals)
# Log that we've set up the app now
@ -127,6 +128,11 @@ class FluentApp:
d = dialogs.CreateProjectDruid(self)
d.run()
def on_help_about(self, *rest):
widget_tree = gtk.glade.XML(GLADEFILENAME, 'aboutdialog')
about = widget_tree.get_widget('aboutdialog')
about.run()
if __name__ == '__main__':
gnome.program_init(PROGRAM_NAME, VERSION)
app = FluentApp()

View File

@ -716,7 +716,7 @@ The functions of the workflow you select will be available on the right part of
<widget class="GtkAboutDialog" id="aboutdialog">
<property name="visible">True</property>
<property name="destroy_with_parent">True</property>
<property name="name" translatable="yes">Fluent</property>
<property name="name" translatable="yes">Fluents</property>
<property name="copyright" translatable="yes">Copyright (C) 2006 the Fluents Team
</property>
<property name="comments" translatable="yes">From WordNet (r) 2.0 [wn]: fluent (adj)
@ -726,7 +726,12 @@ The functions of the workflow you select will be available on the right part of
2: smooth and unconstrained in movement; &quot;a long, smooth stride&quot;; &quot;the fluid motion of a cat&quot;; &quot;the liquid grace of a ballerina&quot;; &quot;liquid prose&quot; [syn:{flowing}, {fluid}, {liquid}, {smooth}]
3: expressing yourself readily, clearly, effectively; &quot;able to dazzle with his facile tongue&quot;; &quot;silver speech&quot; [syn: {eloquent}, {facile}, {silver}, {silver-tongued}, {smooth-spoken}]
</property>
From the Fluents team: fluents (sw)
1: fluent software for lightweight data analysis.</property>
<property name="license" translatable="yes"></property>
<property name="wrap_license">False</property>
<property name="website">https://dev.pvv.ntnu.no/projects/fluent</property>