[rhythmbox] entry-view: let gtk+ choose the width of the now-playing column
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] entry-view: let gtk+ choose the width of the now-playing column
- Date: Sun, 11 Sep 2016 09:16:12 +0000 (UTC)
commit e0a57e65e9c4cd404404f7b2f2bcb0869b93dc8f
Author: vrishab <vrishab in gmail com>
Date: Sun Sep 11 19:15:05 2016 +1000
entry-view: let gtk+ choose the width of the now-playing column
https://bugzilla.gnome.org/show_bug.cgi?id=770983
widgets/rb-entry-view.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/widgets/rb-entry-view.c b/widgets/rb-entry-view.c
index 50632ad..43210ae 100644
--- a/widgets/rb-entry-view.c
+++ b/widgets/rb-entry-view.c
@@ -1850,7 +1850,6 @@ rb_entry_view_constructed (GObject *object)
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
GtkWidget *image_widget;
- gint width;
/* Playing icon column */
column = GTK_TREE_VIEW_COLUMN (gtk_tree_view_column_new ());
@@ -1872,8 +1871,6 @@ rb_entry_view_constructed (GObject *object)
gtk_widget_show_all (image_widget);
gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);
- gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &width, NULL);
- gtk_tree_view_column_set_fixed_width (column, width + 5);
gtk_tree_view_append_column (GTK_TREE_VIEW (view->priv->treeview), column);
g_signal_connect_swapped (renderer,
"pixbuf-clicked",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]