[vinagre] Drop screenshot action for vnc plugin
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Drop screenshot action for vnc plugin
- Date: Fri, 8 Oct 2010 19:49:27 +0000 (UTC)
commit 7e7344b7e9faa6d48faa23c715c08b10935b4a0e
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Oct 8 16:54:23 2010 -0300
Drop screenshot action for vnc plugin
plugins/vnc/vinagre-vnc-tab.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-tab.c b/plugins/vnc/vinagre-vnc-tab.c
index a3ce97f..16b57a1 100644
--- a/plugins/vnc/vinagre-vnc-tab.c
+++ b/plugins/vnc/vinagre-vnc-tab.c
@@ -150,14 +150,6 @@ vnc_tab_get_tooltip (VinagreTab *tab)
_("Dimensions:"), vnc_display_get_width (VNC_DISPLAY (vnc_tab->priv->vnc)), vnc_display_get_height (VNC_DISPLAY (vnc_tab->priv->vnc)));
}
-static GdkPixbuf *
-vnc_tab_get_screenshot (VinagreTab *tab)
-{
- VinagreVncTab *vnc_tab = VINAGRE_VNC_TAB (tab);
-
- return vnc_display_get_pixbuf (VNC_DISPLAY (vnc_tab->priv->vnc));
-}
-
static void
vinagre_vnc_tab_finalize (GObject *object)
{
@@ -223,7 +215,6 @@ vinagre_vnc_tab_class_init (VinagreVncTabClass *klass)
tab_class->impl_get_tooltip = vnc_tab_get_tooltip;
tab_class->impl_get_connected_actions = vnc_get_connected_actions;
tab_class->impl_get_initialized_actions = vnc_get_initialized_actions;
- tab_class->impl_get_screenshot = vnc_tab_get_screenshot;
g_object_class_install_property (object_class,
PROP_ORIGINAL_WIDTH,
@@ -798,6 +789,7 @@ vinagre_vnc_tab_init (VinagreVncTab *vnc_tab)
gtk_container_add (GTK_CONTAINER (vnc_tab->priv->align), vnc_tab->priv->vnc);
vinagre_tab_add_view (VINAGRE_TAB (vnc_tab), vnc_tab->priv->align);
+ vinagre_tab_set_has_screenshot (VINAGRE_TAB (vnc_tab), TRUE);
g_signal_connect (vnc_tab->priv->vnc,
"vnc-connected",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]