GNOME Bugzilla – Bug 762531
Show correct tooltip for RDP tab
Last modified: 2016-02-23 14:06:01 UTC
Created attachment 321947 [details] [review] Show correct tooltip for RDP tab Vinagre doesn't set correct tooltip for RDP tab once it is initialized. This is caused by not emitting "tab-initialized" signal. Attached patch emits the signal so the tooltip is set correctly.
Review of attachment 321947 [details] [review]: ::: plugins/rdp/vinagre-rdp-tab.c @@ +237,3 @@ + g_signal_emit_by_name (object, "tab-initialized"); + + return FALSE; Use G_SOURCE_REMOVE please (as this is a GSourceFunc).
(In reply to David King from comment #1) > Review of attachment 321947 [details] [review] [review]: > > ::: plugins/rdp/vinagre-rdp-tab.c > @@ +237,3 @@ > + g_signal_emit_by_name (object, "tab-initialized"); > + > + return FALSE; > > Use G_SOURCE_REMOVE please (as this is a GSourceFunc). I wanted to but vinagre requires glib 2.28 which doesn't have it. Would you mind if I keep the FALSE there?
(In reply to Marek Kašík from comment #2) > > Use G_SOURCE_REMOVE please (as this is a GSourceFunc). > > I wanted to but vinagre requires glib 2.28 which doesn't have it. Would you > mind if I keep the FALSE there? Please update the GLib requirement to the oldest version with G_SOURCE_REMOVE, then.
Comment on attachment 321947 [details] [review] Show correct tooltip for RDP tab I've bumped the requirement of GLib to 2.32 and used the G_SOURCE_REMOVE there. It is in master now. Thanks.