aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-06-24 18:44:35 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-24 18:50:17 +0800
commit712f9da4f80e0426ca449431ffbe6cd3373adf12 (patch)
treea643f450cdd5406ceeb5bfc68a68a8f2f302333f
parentfb207a362a266da923f6f87c91c0dd649cfa9183 (diff)
downloadgsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar.gz
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar.bz2
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar.lz
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar.xz
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.tar.zst
gsoc2013-empathy-712f9da4f80e0426ca449431ffbe6cd3373adf12.zip
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.
-rw-r--r--libempathy-gtk/empathy-status-preset-dialog.c3
1 files changed, 3 insertions, 0 deletions
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",