aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@katamail.com>2008-07-14 19:38:30 +0800
committerPaolo Borelli <pborelli@src.gnome.org>2008-07-14 19:38:30 +0800
commitc049cedd6969d77649db15b71f4ba112d4a2c065 (patch)
treeab42a98360f79974bcefa46a83cd3610aec1c6bf /shell/e-shell-window.c
parent5dcc53160bfb1202e53fece360838f39646a6d09 (diff)
downloadgsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.gz
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.bz2
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.lz
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.xz
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.zst
gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.zip
** Fix for bug #542889
2008-17-14 Paolo Borelli <pborelli@katamail.com> ** Fix for bug #542889 Port to the new gtk tooltip api. svn path=/trunk/; revision=35744
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index c6f08a7aa9..7d772fd2af 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -112,9 +112,6 @@ struct _EShellWindowPrivate {
/* The current view (can be NULL initially). */
ComponentView *current_view;
- /* Tooltips. */
- GtkTooltips *tooltips;
-
/* The status bar widgetry. */
GtkWidget *status_bar;
GtkWidget *offline_toggle;
@@ -407,7 +404,7 @@ update_offline_toggle_status (EShellWindow *window)
gtk_image_set_from_file (GTK_IMAGE (priv->offline_toggle_image), icon_file);
g_free (icon_file);
gtk_widget_set_sensitive (priv->offline_toggle, sensitive);
- gtk_tooltips_set_tip (priv->tooltips, priv->offline_toggle, tooltip, NULL);
+ gtk_widget_set_tooltip_text (priv->offline_toggle, tooltip);
/* TODO: If we get more shell flags, this should be centralised */
t = es_menu_target_new_shell(priv->menu, flags);
@@ -863,11 +860,6 @@ impl_dispose (GObject *object)
priv->ui_component = NULL;
}
- if (priv->tooltips != NULL) {
- gtk_object_destroy (GTK_OBJECT (priv->tooltips));
- priv->tooltips = NULL;
- }
-
if (priv->store_window_size_timer) {
g_source_remove (priv->store_window_size_timer);
self->priv->store_window_size_timer = 0;
@@ -992,7 +984,6 @@ e_shell_window_init (EShellWindow *shell_window)
{
EShellWindowPrivate *priv = g_new0 (EShellWindowPrivate, 1);
- priv->tooltips = gtk_tooltips_new ();
priv->shell_view = e_shell_view_new(shell_window);
priv->destroyed = FALSE;