aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2013-09-26 20:17:54 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2013-09-26 22:56:57 +0800
commite7441bf9bbef93c39d38c9b266d53ef23597e108 (patch)
tree5e99eb82c3a5c2a13c92eff02d45280cc8e51f07
parentbb59da84356c47dd83b8b704ec0767176872754d (diff)
downloadgsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar.gz
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar.bz2
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar.lz
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar.xz
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.tar.zst
gsoc2013-empathy-e7441bf9bbef93c39d38c9b266d53ef23597e108.zip
EmpathyDebugWindow: set request widget size, drop set default size
Empathy debug window opens w/ weird size. This caused by scrolled window. In official documentation of gtk+ I look that uses: gtk_widget_set_size_request (window, 300, 300); And it's work! Set default size isn't needed. Reference: https://bugzilla.gnome.org/show_bug.cgi?id=708826 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
-rw-r--r--src/empathy-debug-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index e4f5e21d6..c195af4af 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1846,7 +1846,7 @@ am_prepared_cb (GObject *am,
empathy_set_css_provider (GTK_WIDGET (object));
gtk_window_set_title (GTK_WINDOW (object), _("Debug Window"));
- gtk_window_set_default_size (GTK_WINDOW (object), 800, 400);
+ gtk_widget_set_size_request (GTK_WIDGET (object), 600, 300);
empathy_geometry_bind (GTK_WINDOW (object), "debug-window");
g_signal_connect (object, "key-press-event",