[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 263/473: Use proper size request for small panels.
noreply at xfce.org
noreply at xfce.org
Mon Feb 16 23:57:13 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 f01f352647d5e6276c47aabe7c4b076252e39fef
Author: Graeme Gott <graeme at gottcode.org>
Date: Mon Dec 2 06:52:28 2013 -0500
Use proper size request for small panels.
---
panel-plugin/plugin.cpp | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index da588c2..7499368 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -351,16 +351,8 @@ gboolean Plugin::size_changed(XfcePanelPlugin*, gint size)
#if (LIBXFCE4PANEL_CHECK_VERSION(4,9,0))
xfce_panel_plugin_set_small(m_plugin, true);
#endif
-
xfce_panel_image_set_size(m_button_icon, -1);
- if (orientation == GTK_ORIENTATION_HORIZONTAL)
- {
- gtk_widget_set_size_request(GTK_WIDGET(m_plugin), row_size, size);
- }
- else
- {
- gtk_widget_set_size_request(GTK_WIDGET(m_plugin), size, row_size);
- }
+ gtk_widget_set_size_request(GTK_WIDGET(m_plugin), row_size, row_size);
}
else
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list