[ekiga/ds-gtk-application] Prefs: Improved layout.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Prefs: Improved layout.
- Date: Sun, 26 Oct 2014 18:25:57 +0000 (UTC)
commit 11395cd184bcd8ef85cdfbbe46aa10c5f9c6141a
Author: Damien Sandras <dsandras seconix com>
Date: Sun Oct 26 19:06:55 2014 +0100
Prefs: Improved layout.
lib/engine/gui/gtk-core/codecsbox.cpp | 1 -
lib/engine/gui/gtk-frontend/preferences-window.cpp | 9 +++------
2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/codecsbox.cpp b/lib/engine/gui/gtk-core/codecsbox.cpp
index c7c4bf9..b049601 100644
--- a/lib/engine/gui/gtk-core/codecsbox.cpp
+++ b/lib/engine/gui/gtk-core/codecsbox.cpp
@@ -402,7 +402,6 @@ codecs_box_init (CodecsBox *self)
NULL);
gtk_tree_view_column_add_attribute (column, renderer,
"activatable", COLUMN_CODEC_SELECTABLE);
- gtk_tree_view_column_set_fixed_width (GTK_TREE_VIEW_COLUMN (column), 25);
gtk_tree_view_append_column (GTK_TREE_VIEW (self->priv->codecs_list), column);
g_signal_connect (renderer, "toggled",
G_CALLBACK (codec_toggled_cb),
diff --git a/lib/engine/gui/gtk-frontend/preferences-window.cpp
b/lib/engine/gui/gtk-frontend/preferences-window.cpp
index 2a473db..51f3017 100644
--- a/lib/engine/gui/gtk-frontend/preferences-window.cpp
+++ b/lib/engine/gui/gtk-frontend/preferences-window.cpp
@@ -526,7 +526,7 @@ gm_pw_add_update_button (GtkWidget *container,
gtk_container_set_border_width (GTK_CONTAINER (button), 0);
GTK_GRID_LAST_ROW (container, pos);
- gtk_grid_attach (GTK_GRID (container), button, 0, pos-1, 2, 1);
+ gtk_grid_attach (GTK_GRID (container), button, 0, pos-1, 3, 1);
g_signal_connect (button, "clicked",
G_CALLBACK (func),
@@ -847,8 +847,7 @@ gm_pw_init_audio_page (PreferencesWindow *self,
/* Packing widgets */
GTK_GRID_LAST_ROW (container, pos);
codecs_list = codecs_box_new_with_type (Ekiga::Call::Audio);
- gtk_container_set_border_width (GTK_CONTAINER (codecs_list), 6);
- gtk_grid_attach (GTK_GRID (container), codecs_list, 0, pos-1, 2, 1);
+ gtk_grid_attach (GTK_GRID (container), codecs_list, 0, pos-1, 3, 1);
/* Here we add the audio codecs options */
gm_pw_subsection_new (container, _("Settings"));
@@ -957,8 +956,7 @@ gm_pw_init_video_page (PreferencesWindow *self,
/* Packing widgets */
GTK_GRID_LAST_ROW (container, pos);
codecs_list = codecs_box_new_with_type (Ekiga::Call::Video);
- gtk_container_set_border_width (GTK_CONTAINER (codecs_list), 6);
- gtk_grid_attach (GTK_GRID (container), codecs_list, 0, pos-1, 2, 1);
+ gtk_grid_attach (GTK_GRID (container), codecs_list, 0, pos-1, 3, 1);
/* Here we add the video codecs options */
gm_pw_subsection_new (container, _("Settings"));
@@ -1082,7 +1080,6 @@ gm_pw_string_option_menu_new (GtkWidget *subsection,
gtk_combo_box_text_append (GTK_COMBO_BOX_TEXT (option_menu),
boost::get<0>(*iter).c_str (),
boost::get<1>(*iter).c_str ());
-
gtk_grid_attach_next_to (GTK_GRID (subsection), option_menu, label, GTK_POS_RIGHT, 1, 1);
g_settings_bind (settings->get_g_settings (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]