gnome-media r4120 - in trunk/gnome-volume-control: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-media r4120 - in trunk/gnome-volume-control: . src
- Date: Thu, 18 Dec 2008 13:11:11 +0000 (UTC)
Author: hadess
Date: Thu Dec 18 13:11:11 2008
New Revision: 4120
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4120&view=rev
Log:
2008-12-18 Bastien Nocera <hadess hadess net>
* src/gvc-sound-theme-chooser.c (setup_theme_custom_selector):
Set the first column's text to be ellipsised, and expanded,
fixes the window resizing on startup, but still some unsightly
resizing in the treeview itself
Modified:
trunk/gnome-volume-control/ChangeLog
trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c
Modified: trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c
==============================================================================
--- trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c (original)
+++ trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c Thu Dec 18 13:11:11 2008
@@ -1136,7 +1136,11 @@
column = gtk_tree_view_column_new_with_attributes ("Display", renderer,
"text", DISPLAY_COL,
"sensitive", SENSITIVE_COL,
- NULL);
+ "ellipsize", PANGO_ELLIPSIZE_END,
+ "ellipsize-set", TRUE,
+ NULL);
+ g_object_set (G_OBJECT (column), "expand", TRUE, NULL);
+
gtk_tree_view_append_column (GTK_TREE_VIEW (chooser->priv->treeview), column);
/* The 2nd column with the sound settings */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]