From 712f9da4f80e0426ca449431ffbe6cd3373adf12 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 24 Jun 2011 11:44:35 +0100 Subject: PresetDialog: make status icon in entry non-activatable It's not meaningfully activatable; this has the effect of making it not glow on mouse-over, and preventing the cursor from changing from a caret back to a pointer. --- libempathy-gtk/empathy-status-preset-dialog.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk/empathy-status-preset-dialog.c') diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c index 30c5c6b9d..a106a88f2 100644 --- a/libempathy-gtk/empathy-status-preset-dialog.c +++ b/libempathy-gtk/empathy-status-preset-dialog.c @@ -564,6 +564,9 @@ empathy_status_preset_dialog_init (EmpathyStatusPresetDialog *self) gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE); entry = gtk_bin_get_child (GTK_BIN (priv->add_combobox)); + gtk_entry_set_icon_activatable (GTK_ENTRY (entry), + GTK_ENTRY_ICON_PRIMARY, + FALSE); g_signal_connect (entry, "activate", G_CALLBACK (status_preset_dialog_add_preset), self); g_signal_connect (entry, "button-press-event", -- cgit v1.2.3