From: Salvatore Iovene Date: Thu, 10 Dec 2009 18:06:11 +0000 (+0200) Subject: Style the buttons correctly. X-Git-Tag: 0.0.1~1^2~2 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=edf45b99a66e77013a9ea44f009855e7f1b24c76;hp=584b76fa457a6e8dedf18951baa52950df903c47;p=tweakr Style the buttons correctly. --- diff --git a/modules/maemo-tweaks-desktop.c b/modules/maemo-tweaks-desktop.c index b7b124a..7a39a01 100644 --- a/modules/maemo-tweaks-desktop.c +++ b/modules/maemo-tweaks-desktop.c @@ -153,6 +153,7 @@ GtkWidget * _build_snap_to_grid (void) button = hildon_picker_button_new (HILDON_SIZE_AUTO, HILDON_BUTTON_ARRANGEMENT_VERTICAL); + hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT); hildon_button_set_title (HILDON_BUTTON (button), "Snap icons to grid"); diff --git a/modules/maemo-tweaks-mce.c b/modules/maemo-tweaks-mce.c index 276d9fa..4a83f86 100644 --- a/modules/maemo-tweaks-mce.c +++ b/modules/maemo-tweaks-mce.c @@ -195,6 +195,7 @@ GtkWidget * _build_short_power_key (MaemoTweaksMceSection *section) button = hildon_picker_button_new (HILDON_SIZE_AUTO, HILDON_BUTTON_ARRANGEMENT_VERTICAL); + hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT); hildon_button_set_title (HILDON_BUTTON (button), "Power key: short press"); @@ -223,6 +224,7 @@ GtkWidget * _build_long_power_key (MaemoTweaksMceSection *section) button = hildon_picker_button_new (HILDON_SIZE_AUTO, HILDON_BUTTON_ARRANGEMENT_VERTICAL); + hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT); hildon_button_set_title (HILDON_BUTTON (button), "Power key: long press"); @@ -251,6 +253,7 @@ GtkWidget * _build_double_power_key (MaemoTweaksMceSection *section) button = hildon_picker_button_new (HILDON_SIZE_AUTO, HILDON_BUTTON_ARRANGEMENT_VERTICAL); + hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT); hildon_button_set_title (HILDON_BUTTON (button), "Power key: double press");