aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-password-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-09-25 04:02:55 +0800
committerChristian Persch <chpe@src.gnome.org>2008-09-25 04:02:55 +0800
commit659169914fa8da235b35730c688a23c3caca8b3a (patch)
treeef6977c62d09ba7094c3646eb3dfd0c10b80cb62 /lib/ephy-password-dialog.c
parente1d7349c1c0191c371c11a9011eb288187e2cc9d (diff)
downloadgsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.gz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.bz2
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.lz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.xz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.zst
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.zip
Remove libgnome and libgnomeui dependency, using EggSMClient instead of GnomeClient.
svn path=/trunk/; revision=8541
Diffstat (limited to 'lib/ephy-password-dialog.c')
-rw-r--r--lib/ephy-password-dialog.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/lib/ephy-password-dialog.c b/lib/ephy-password-dialog.c
index 660004a83..74195bf53 100644
--- a/lib/ephy-password-dialog.c
+++ b/lib/ephy-password-dialog.c
@@ -15,13 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $Id$
*/
-#ifndef DONT_HAVE_CONFIG_H
#include "config.h"
-#endif
#include <string.h>
@@ -637,13 +633,13 @@ ephy_password_dialog_new (GtkWidget *parent,
void
ephy_password_dialog_set_remember (EphyPasswordDialog *dialog,
- GnomePasswordDialogRemember remember)
+ EphyPasswordDialogRemember remember)
{
EphyPasswordDialogPrivate *priv;
g_return_if_fail (EPHY_IS_PASSWORD_DIALOG (dialog));
- g_return_if_fail (remember < GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING ||
- remember > GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER);
+ g_return_if_fail (remember < EPHY_PASSWORD_DIALOG_REMEMBER_NOTHING ||
+ remember > EPHY_PASSWORD_DIALOG_REMEMBER_FOREVER);
priv = dialog->priv;
g_return_if_fail (priv->flags & EPHY_PASSWORD_DIALOG_FLAGS_SHOW_REMEMBER);
@@ -651,11 +647,11 @@ ephy_password_dialog_set_remember (EphyPasswordDialog *dialog,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->remember_button[remember]), TRUE);
}
-GnomePasswordDialogRemember
+EphyPasswordDialogRemember
ephy_password_dialog_get_remember (EphyPasswordDialog *dialog)
{
EphyPasswordDialogPrivate *priv;
- GnomePasswordDialogRemember remember = GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING;
+ EphyPasswordDialogRemember remember = EPHY_PASSWORD_DIALOG_REMEMBER_NOTHING;
g_return_val_if_fail (EPHY_IS_PASSWORD_DIALOG (dialog), remember);
@@ -663,11 +659,11 @@ ephy_password_dialog_get_remember (EphyPasswordDialog *dialog)
g_return_val_if_fail (priv->flags & EPHY_PASSWORD_DIALOG_FLAGS_SHOW_REMEMBER, remember);
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->remember_button[0])))
- remember = GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING;
+ remember = EPHY_PASSWORD_DIALOG_REMEMBER_NOTHING;
else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->remember_button[1])))
- remember = GNOME_PASSWORD_DIALOG_REMEMBER_SESSION;
+ remember = EPHY_PASSWORD_DIALOG_REMEMBER_SESSION;
else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->remember_button[2])))
- remember = GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER;
+ remember = EPHY_PASSWORD_DIALOG_REMEMBER_FOREVER;
return remember;
}