Changeset 1808 for gaphor-plugins/gaphor.plugins.helloworld
- Timestamp:
- 08/01/07 07:13:37 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor-plugins/gaphor.plugins.helloworld/gaphor/plugins/helloworld/__init__.py
r1807 r1808 36 36 main_window = self.gui_manager.main_window 37 37 import gtk 38 gtk.MessageDialog(38 dialog = gtk.MessageDialog( 39 39 parent=main_window.window, 40 40 type=gtk.MESSAGE_INFO, 41 buttons=gtk.BUTTONS_NONE, 42 message_format='Every application should have a Hello world plugin!').run() 41 buttons=gtk.BUTTONS_OK, 42 message_format='Every application should have a Hello world plugin!') 43 dialog.run() 44 dialog.destroy() 45 43 46 44 47 # vim: sw=4:et:ai gaphor-plugins/gaphor.plugins.helloworld/setup.py
r1807 r1808 3 3 4 4 Every app should have one! 5 6 from the command line run: 'python setup.py develop' and start Gaphor. 7 8 A 'Hello world' button should appear in the Help menu. When pressed, a 9 dialog will be displayed. 10 11 Very neat, very... Hello world! 5 12 """ 6 13 … … 28 35 description = "Example (Hello World) service/plugin for Gaphor", 29 36 license = "GPL", 30 keywords = " hello world example examples",37 keywords = "gaphor hello world example examples", 31 38 32 39 entry_points = {
