From e9010cc1e7b3bdaa3366ea530d0d3780dbbfb0a4 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Wed, 20 May 2009 16:33:07 -0400 Subject: Fix double border issue in the Map View By replace the scrolled view by a viewport, anyway, there can't be scrollbars with libchamplain --- src/empathy-map-view.c | 2 +- src/empathy-map-view.ui | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c index 1a9872558..11e0eb471 100644 --- a/src/empathy-map-view.c +++ b/src/empathy-map-view.c @@ -132,7 +132,7 @@ empathy_map_view_show () champlain_view_center_on (window->map_view, 36, 0); embed = champlain_view_embed_new (window->map_view); - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), + gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (embed)); gtk_widget_show_all (embed); diff --git a/src/empathy-map-view.ui b/src/empathy-map-view.ui index 8102761c2..f1140399b 100644 --- a/src/empathy-map-view.ui +++ b/src/empathy-map-view.ui @@ -1,10 +1,11 @@ - + + Contact Map View map_view - GTK_WIN_POS_CENTER + center 512 384 @@ -20,6 +21,7 @@ False + True @@ -29,22 +31,20 @@ False + True False False + 0 - + True - True - True - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN + queue -- cgit v1.2.3