]> git.0d.be Git - empathy.git/commitdiff
log-window: add the "raised" style class to the account chooser
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 1 Sep 2011 16:26:29 +0000 (12:26 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 2 Sep 2011 19:09:27 +0000 (15:09 -0400)
So that it raises up from the toolbar below.

https://bugzilla.gnome.org/show_bug.cgi?id=657954

libempathy-gtk/empathy-log-window.c

index 5ea872e14a6bc701b568e54ef0337616b627be50..7b016735ec9e39f0a8ddbff223b0c6491a0de6db 100644 (file)
@@ -678,6 +678,9 @@ empathy_log_window_init (EmpathyLogWindow *self)
       empathy_account_chooser_filter_has_logs, NULL);
   empathy_account_chooser_set_all (account_chooser);
 
+  gtk_style_context_add_class (gtk_widget_get_style_context (self->priv->account_chooser),
+                               GTK_STYLE_CLASS_RAISED);
+
   g_signal_connect (self->priv->account_chooser, "changed",
       G_CALLBACK (log_window_chats_accounts_changed_cb),
       self);