After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603423 - Tomboy should make panel applet optional
Tomboy should make panel applet optional
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
1.1.x
Other Linux
: Normal normal
: 1.4.0
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-30 22:59 UTC by Andreas Proschofsky
Modified: 2010-06-20 20:18 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
Remove old compatibility code (30.86 KB, patch)
2010-06-18 06:05 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
Make GNOME panel dependecy optional (4.84 KB, patch)
2010-06-18 06:05 UTC, Javier Jardón (IRC: jjardon)
none Details | Review
Make GNOME panel dependecy optional.v2 (4.90 KB, patch)
2010-06-18 14:14 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description Andreas Proschofsky 2009-11-30 22:59:39 UTC
It would be lovely if Tomboy could be built without the panel applet, so that the heavy gnome-panel dependency is not drawn in. Would be very useful for all the places where you don't need the panel, like with GNOME Shell, other desktops, etc.
Comment 1 Sandy Armstrong 2009-11-30 23:18:32 UTC
Agreed. Patches welcome; will make sure to get to this for GNOME 3.0, at least.
Comment 2 Javier Jardón (IRC: jjardon) 2010-06-18 06:05:14 UTC
Created attachment 163984 [details] [review]
Remove old compatibility code
Comment 3 Javier Jardón (IRC: jjardon) 2010-06-18 06:05:42 UTC
Created attachment 163985 [details] [review]
Make GNOME panel dependecy optional
Comment 4 Sandy Armstrong 2010-06-18 12:52:43 UTC
Review of attachment 163985 [details] [review]:

Both of these patches look really good.  Some minor comments below.  I do want to make sure we get the configure flag right, do you have any additional thoughts on it?

::: Tomboy/Tomboy.cs
@@ +181,3 @@
 			// This will block if there is no existing instance running
 #if !WIN32 && !MAC
+#if GNOME_PANEL

You can remove the #if !WIN32 && !MAC line here.

::: configure.in
@@ -152,0 +151,5 @@
+#
+# Check for GNOME Panel Support
+#
... 2 more ...

What do you think is more easily understandable?  --enable-gnome-panel, --enable-applet, or --enable-panel-applet ?

@@ -369,2 +382,3 @@
     D-Bus Support:     ${ENABLE_DBUS}
 
+    GNOME Panel:       ${ENABLE_GNOME_PANEL}

I think s/"GNOME Panel"/"GNOME Panel Applet" would be helpful here.
Comment 5 Javier Jardón (IRC: jjardon) 2010-06-18 14:14:57 UTC
Created attachment 164008 [details] [review]
Make GNOME panel dependecy optional.v2

Use --enable-panel-applet instead
Comment 6 Javier Jardón (IRC: jjardon) 2010-06-18 14:15:42 UTC
Comment on attachment 163984 [details] [review]
Remove old compatibility code

commit dcbbcbb6acade19853d190b7edf736c5a27d9fb8
Comment 7 Sandy Armstrong 2010-06-20 20:18:23 UTC
I pushed a slightly modified version of Javier's patch:

http://git.gnome.org/browse/tomboy/commit/?id=2aa928732b2835c64f04d2e605ca5a31591c7e5b