[gnote] * Should now build if Gtk+ 2.16 is present but not Gtkmm 2.16.
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] * Should now build if Gtk+ 2.16 is present but not Gtkmm 2.16.
- Date: Thu, 23 Apr 2009 19:43:18 -0400 (EDT)
commit 38721479bdc6db3b51757cefcc3d2500efd8c7f3
Author: Hubert Figuiere <hub figuiere net>
Date: Wed Apr 22 17:57:23 2009 -0400
* Should now build if Gtk+ 2.16 is present but not Gtkmm 2.16.
---
NEWS | 2 ++
src/tray.cpp | 3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index 3b15bd8..7021a1c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
Fixes:
+ * Should now build if Gtk+ 2.16 is present but not Gtkmm 2.16.
+
Translations:
0.2.0 - 2009/04/22
diff --git a/src/tray.cpp b/src/tray.cpp
index 1097a8a..ac550ae 100644
--- a/src/tray.cpp
+++ b/src/tray.cpp
@@ -412,7 +412,8 @@ namespace gnote {
Glib::RefPtr<Gdk::Pixbuf> pixbuf = utils::get_icon("gnote", panel_size);
set(pixbuf);
#if GTK_VERSION_GE(2,16)
- set_tooltip_text(tray_util_get_tooltip_text());
+ gtk_status_icon_set_tooltip_text(gobj(),
+ tray_util_get_tooltip_text().c_str());
#endif
Gtk::Main::signal_quit().connect(sigc::mem_fun(*this, &TrayIcon::on_exit), 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]