gimmie r704 - in trunk: . gimmie
- From: orph svn gnome org
- To: svn-commits-list gnome org
- Subject: gimmie r704 - in trunk: . gimmie
- Date: Mon, 12 Jan 2009 13:45:45 +0000 (UTC)
Author: orph
Date: Mon Jan 12 13:45:44 2009
New Revision: 704
URL: http://svn.gnome.org/viewvc/gimmie?rev=704&view=rev
Log:
2009-01-12 Alex Graveley <alex beatniksoftware com>
* BUILDING: Update to remove suggestion of installing
libgnomecups-dev.
* gimmie/gimmie_bar.py: Create TopicWindows at startup, so
between-topic toolbar buttons (Printers, Settings) work.
Modified:
trunk/BUILDING
trunk/ChangeLog
trunk/gimmie/gimmie_bar.py
Modified: trunk/BUILDING
==============================================================================
--- trunk/BUILDING (original)
+++ trunk/BUILDING Mon Jan 12 13:45:44 2009
@@ -3,24 +3,22 @@
----
-1) Install devel headers for GTK+2, PyGTK, libgnome-menu and GConf.
+1) Install devel headers for GTK+2, PyGTK, libgnome-menu and GConf.
To do this on Ubuntu, run:
$ sudo apt-get install libgtk2.0-dev python-gtk2-dev \
libgnome-menu-dev libgconf2-dev
-2) Optionally install libgnomecups devel headers to display printer status.
-
-3) Build Gimmie:
+2) Build Gimmie:
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
If you have problems with Python packages, try installing python-gnome2,
- python-gnome2-desktop and python-gnome2-extras packages for your
+ python-gnome2-desktop and python-gnome2-extras packages for your
distribution if they are not installed already.
-4) To add Gimmie to your Gnome panel, right click the panel and select
+3) To add Gimmie to your Gnome panel, right click the panel and select
"Add to Panel...". Gimmie should be located in the Utilities section.
- To start the standalone version just run `gimmie`.
+ To start the standalone version just run `gimmie`.
Modified: trunk/gimmie/gimmie_bar.py
==============================================================================
--- trunk/gimmie/gimmie_bar.py (original)
+++ trunk/gimmie/gimmie_bar.py Mon Jan 12 13:45:44 2009
@@ -171,7 +171,8 @@
#self.set_size_request(-1, 24)
self.topic = topic
- self.topic_win = None
+ self.topic_win = TopicWindow(self.topic)
+ self.topic.set_topic_window(self.topic_win)
def do_set_wm_icon_geometry(self):
'''
@@ -196,11 +197,7 @@
propvals)
def do_clicked(self):
- if not self.topic_win:
- self.topic_win = TopicWindow(self.topic)
- self.topic_win.realize()
- self.topic.set_topic_window(self.topic_win)
- self.do_set_wm_icon_geometry()
+ self.do_set_wm_icon_geometry()
self.topic_win.deiconify()
self.topic_win.present()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]