~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-locationaction.c

  • Committer: RabbitBot
  • Author(s): gue5t
  • Date: 2015-08-15 15:11:29 UTC
  • mfrom: (7016.2.1 last-placeholders)
  • Revision ID: rabbitbot-20150815151129-j1egvqs16z3eb5i8
Fix last known GTK2 entry placeholder text bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
981
981
midori_location_action_changed_cb (GtkEntry*             entry,
982
982
                                   MidoriLocationAction* location_action)
983
983
{
984
 
    katze_assign (location_action->text, g_strdup (gtk_entry_get_text (entry)));
 
984
    if (g_object_get_data (G_OBJECT (entry), "sokoke_showing_default"))
 
985
        katze_assign (location_action->text, g_strdup (""));
 
986
    else
 
987
        katze_assign (location_action->text, g_strdup (gtk_entry_get_text (entry)));
985
988
}
986
989
 
987
990
static void