[Ekiga-devel-list] Patch sizes



Hi,

I would propose you the patch attached, which solves, at least for me, two annoying problems with the size of widgets/window: - the three tabs at the left are not visible entirely (only two are visible and arrows are shown), adding 10 pixels solves this problem for me. I imagine that a general patch takes into account all the languages, but until then... - when changing video size, the window grows in height without reason, so I removed the "*2.5". Or simply removing this line, if the user has a long list of contacts in roster and don't want to change its height?

--
Eugen
--- ../ekiga-svn/src/gui/main.cpp	2008-08-11 22:26:07.000000000 +0200
+++ src/gui/main.cpp	2008-08-12 11:45:36.000000000 +0200
@@ -1070,7 +1070,7 @@
 
   gdk_window_invalidate_rect (GDK_WINDOW (GTK_WIDGET (self)->window), &rect , TRUE);
 
-  gtk_window_resize (GTK_WINDOW (self), width + 20, mw->y ? mw->y : (int) height * 2.5);
+  gtk_window_resize (GTK_WINDOW (self), width + 50, mw->y ? mw->y : (int) height);
 }
 
 void
@@ -3990,7 +3990,7 @@
   gm_mw_init_contacts_list (window);
   gm_mw_init_dialpad (window);
   gtk_paned_pack1 (GTK_PANED (mw->hpaned), mw->main_notebook, true, true);
-  gtk_widget_set_size_request (mw->main_notebook, 200, -1);
+  gtk_widget_set_size_request (mw->main_notebook, 210, -1);
 
   gm_mw_init_call (window);
   gm_mw_init_history (window);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]