[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 105/473: Make rows be fixed height.

noreply at xfce.org noreply at xfce.org
Mon Feb 16 23:54:35 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 449c2f0266a6bc6a182f4e19e46a748693b52195
Author: Graeme Gott <graeme at gottcode.org>
Date:   Sun Jul 14 10:55:59 2013 -0400

    Make rows be fixed height.
---
 src/launcher_view.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/launcher_view.cpp b/src/launcher_view.cpp
index 177a9ac..2692092 100644
--- a/src/launcher_view.cpp
+++ b/src/launcher_view.cpp
@@ -45,6 +45,7 @@ LauncherView::LauncherView() :
 	gtk_tree_view_set_rules_hint(m_view, false);
 	gtk_tree_view_set_hover_selection(m_view, true);
 	gtk_tree_view_set_enable_search(m_view, false);
+	gtk_tree_view_set_fixed_height_mode(m_view, true);
 	create_column();
 	g_signal_connect(m_view, "key-press-event", G_CALLBACK(LauncherView::on_key_press_event_slot), this);
 	g_signal_connect(m_view, "key-release-event", G_CALLBACK(LauncherView::on_key_release_event_slot), this);
@@ -190,6 +191,8 @@ void LauncherView::create_column()
 	gtk_tree_view_column_pack_start(m_column, text_renderer, true);
 	gtk_tree_view_column_add_attribute(m_column, text_renderer, "markup", LauncherModel::COLUMN_TEXT);
 
+	gtk_tree_view_column_set_sizing(m_column, GTK_TREE_VIEW_COLUMN_FIXED);
+
 	gtk_tree_view_append_column(m_view, m_column);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list