[gnome-dictionary] Make the lookup button look like a button
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] Make the lookup button look like a button
- Date: Sun, 6 Oct 2013 00:52:20 +0000 (UTC)
commit d1431770336909e138995684c560e3ff83770792
Author: Robert Roth <evfool yahoo com>
Date: Sat Mar 19 15:04:00 2011 +0000
Make the lookup button look like a button
Lookup button moved to the right of the entry field and made to look
like a button (normal relief)
https://bugzilla.gnome.org/show_bug.cgi?id=556082
src/gdict-window.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gdict-window.c b/src/gdict-window.c
index 7eefd50..dd5ff95 100644
--- a/src/gdict-window.c
+++ b/src/gdict-window.c
@@ -1612,12 +1612,11 @@ gdict_window_constructor (GType type,
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
- button = gtk_button_new_with_mnemonic (_("Look _up:"));
+ button = gtk_button_new_with_mnemonic (_("Look _up"));
g_signal_connect_swapped (button, "clicked",
G_CALLBACK (lookup_word),
window);
- gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
- gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
+ gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
window->completion_model = gtk_list_store_new (COMPLETION_N_COLUMNS,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]