PATCH: identity-dlg and addressbook-dlg modal fix
- From: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- To: balsa-list gnome org
- Subject: PATCH: identity-dlg and addressbook-dlg modal fix
- Date: Wed, 22 Aug 2001 06:46:16 +0200
hi,
try this. load balsa and then go to menu and open
the addressbook. one time, two times, three times....
now try this too. its a bit tricky but you will be
successfull.
- go to main window
- settings->identities.
- choosing something from menu is impossible now.
so far so good.
- now in the identities box choose either new or
edit.
- you will be pleased with the new dialog, now close
or cancel this.
- you are please with the identities box appearance
again (where you could choose new, edit ....)
- now select something in the menu..
- now if you want select settings-identities again.
well at least this patch nails down both issue..
now my question, why couldnt we use this MODAL thingy within
the settings-preferences window and the settings->customize
window ? we could save some lines of code because.
if (compose_window_active == 1) return;
could be saved then. well its just an idea. comments,
hints ideas ? please reply. aehm commit to CVS :)
--
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
--- /mnt/private/temp/cvstree/balsa/libbalsa/identity.c Tue Aug 21 15:06:26 2001
+++ balsa/libbalsa/identity.c Wed Aug 22 05:33:55 2001
@@ -1044,7 +1044,7 @@
2, 'E', GDK_MOD1_MASK);
gnome_dialog_set_accelerator(GNOME_DIALOG(dialog),
3, 'D', GDK_MOD1_MASK);
- gtk_window_set_modal(GTK_WINDOW(dialog), FALSE);
+ gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
gnome_dialog_set_default(GNOME_DIALOG(dialog), 0);
gnome_dialog_set_close(GNOME_DIALOG(dialog), FALSE);
gnome_dialog_set_parent(GNOME_DIALOG(dialog), parent);
--- /mnt/private/temp/cvstree/balsa/src/address-book.c Tue Aug 21 15:06:23 2001
+++ balsa/src/address-book.c Wed Aug 22 06:39:24 2001
@@ -174,6 +174,7 @@
vbox = GNOME_DIALOG(ab)->vbox;
gtk_window_set_wmclass(GTK_WINDOW(ab), "addressbook", "Balsa");
+ gtk_window_set_modal(GTK_WINDOW(ab), TRUE);
/* The main address list */
ab->address_clist = gtk_clist_new_with_titles(2, titles);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]