]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-base-password-dialog.c
remove released flag
[empathy.git] / libempathy-gtk / empathy-base-password-dialog.c
index be708e81cf5fe9aab486bbd9ad06a82694b99d08..f080cb7b19538ce68b5a6415710b1132004b3ac2 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <config.h>
-
+#include "config.h"
 #include "empathy-base-password-dialog.h"
 
 #include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-utils.h>
+
+#include "empathy-utils.h"
 
 #define DEBUG_FLAG EMPATHY_DEBUG_SASL
-#include <libempathy/empathy-debug.h>
-#include <libempathy/empathy-utils.h>
+#include "empathy-debug.h"
 
 G_DEFINE_TYPE (EmpathyBasePasswordDialog, empathy_base_password_dialog,
     GTK_TYPE_MESSAGE_DIALOG)
@@ -108,10 +109,10 @@ password_entry_changed_cb (GtkEditable *entry,
   str = gtk_entry_get_text (GTK_ENTRY (entry));
 
   gtk_entry_set_icon_sensitive (GTK_ENTRY (entry),
-      GTK_ENTRY_ICON_SECONDARY, !EMP_STR_EMPTY (str));
+      GTK_ENTRY_ICON_SECONDARY, !TPAW_STR_EMPTY (str));
 
   gtk_widget_set_sensitive (self->ok_button,
-      !EMP_STR_EMPTY (str));
+      !TPAW_STR_EMPTY (str));
 }
 
 static void
@@ -272,6 +273,8 @@ empathy_base_password_dialog_constructed (GObject *object)
   gtk_widget_grab_focus (self->entry);
 
   gtk_window_set_position (GTK_WINDOW (self), GTK_WIN_POS_CENTER_ALWAYS);
+
+  gtk_window_set_keep_above (GTK_WINDOW (self), TRUE);
 }
 
 static void