[bijiben] MainToolbar: New Button: Request minimal width
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] MainToolbar: New Button: Request minimal width
- Date: Wed, 28 Nov 2012 23:10:53 +0000 (UTC)
commit 1d4e3290894623175fa71a39afc1ada1249b99b3
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Nov 29 00:10:42 2012 +0100
MainToolbar: New Button: Request minimal width
src/bjb-main-toolbar.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index c57d974..b3adbd9 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -235,11 +235,13 @@ populate_bar_for_standard(BjbMainToolbar *self)
priv->search_handler = g_signal_connect_swapped (priv->controller,
"search-changed", G_CALLBACK(update_label_for_standard), self);
- /* New Note */
+ /* New Note button
+ * Request a minimal width. TODO : fix padding */
priv->new = gd_main_toolbar_add_button(priv->toolbar,
NULL,
_("New"),
TRUE);
+ gtk_widget_set_size_request (priv->new, 70, -1);
g_signal_connect(priv->new,"clicked",
G_CALLBACK(on_new_note_clicked),priv->parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]