2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
+ expand vertically. Adding some extra space to the find toolbar buttons to
+ make them thumbable. Fixes NB#66060.
+
+2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
* src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
popup with "Ok" and "Cancel". Fixes NB#59299.
{
GtkToolItem *label_container;
GtkToolItem *entry_combo_box_container;
+ GtkAlignment *alignment;
HildonFindToolbarPrivate *priv = HILDON_FIND_TOOLBAR_GET_PRIVATE (self);
g_assert (priv);
#endif
entry_combo_box_container = gtk_tool_item_new ();
+ alignment = gtk_alignment_new (0, 0.5, 1, 0);
gtk_tool_item_set_expand (entry_combo_box_container, TRUE);
- gtk_container_add (GTK_CONTAINER (entry_combo_box_container),
+ gtk_container_add (GTK_CONTAINER (alignment),
GTK_WIDGET (priv->entry_combo_box));
+ gtk_container_add (GTK_CONTAINER (entry_combo_box_container),
+ GTK_WIDGET (alignment));
gtk_widget_show_all(GTK_WIDGET (entry_combo_box_container));
gtk_toolbar_insert (GTK_TOOLBAR (self), entry_combo_box_container, -1);
g_signal_connect (hildon_find_toolbar_get_entry (priv),
G_CALLBACK(hildon_find_toolbar_emit_search), self);
gtk_widget_show_all( GTK_WIDGET(priv->find_button));
gtk_toolbar_insert ( GTK_TOOLBAR(self), priv->find_button, -1);
+ gtk_widget_set_size_request (GTK_WIDGET (priv->find_button), 72, -1);
if ( GTK_WIDGET_CAN_FOCUS( GTK_BIN(priv->find_button)->child) )
GTK_WIDGET_UNSET_FLAGS(
GTK_BIN(priv->find_button)->child, GTK_CAN_FOCUS);
gtk_image_new_from_icon_name ("qgn_toolb_gene_close",
HILDON_ICON_SIZE_TOOLBAR),
"Close");
+ gtk_widget_set_size_request (GTK_WIDGET (priv->close_button), 72, -1);
g_signal_connect(priv->close_button, "clicked",
G_CALLBACK(hildon_find_toolbar_emit_close), self);
gtk_widget_show_all(GTK_WIDGET(priv->close_button));