Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-23 Thread Pascal

tags 384133 + patch
thx!
---

Hi Erich,
I agree that it's best to remain low on debconf questions.

I here attach a patch as an implementation proposal.
The option appears in the main mail-notification preferences dialog.

Could you test it and tell me if you're statisfied with this proposal?

thanks,

-Pascal
PS: The patch is lacking translations.
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
--- src/mn-conf.h.old   2006-05-18 09:23:42.0 -0400
+++ src/mn-conf.h   2006-08-23 01:16:16.0 -0400
@@ -89,6 +89,8 @@
   MN_CONF_MAIL_SUMMARY_POPUP_FONTS_CONTENTS_NAMESPACE /font
 #define MN_CONF_DISPLAY_SEEN_MAIL \
   MN_CONF_NAMESPACE /display-seen-mail
+#define MN_CONF_AUTOSTART \
+  MN_CONF_NAMESPACE /autostart-mn
 #define MN_CONF_TOOLTIP_MAIL_SUMMARY \
   MN_CONF_NAMESPACE /tooltip-mail-summary
 #define MN_CONF_ALWAYS_DISPLAY_ICON \
--- src/mn-properties-dialog.gob.old2006-05-18 09:23:42.0 -0400
+++ src/mn-properties-dialog.gob2006-08-23 02:25:18.0 -0400
@@ -48,6 +48,7 @@
 
   /* general tab */
   private GtkWidget *display_seen_mail_check;
+  private GtkWidget *autostart_mn;
   private GtkWidget *scrolled;
   private GtkWidget *list;
   private GtkWidget *selected_label;
@@ -122,6 +123,7 @@
  mn_properties_dialog_,
  notebook, selfp-notebook,
  display_seen_mail_check, 
selfp-display_seen_mail_check,
+ autostart_mn, selfp-autostart_mn,
  scrolled, selfp-scrolled,
  selected_label, selfp-selected_label,
  remove, selfp-remove,
@@ -220,6 +222,7 @@
 
 mn_conf_link(self, MN_CONF_PROPERTIES_DIALOG,
 selfp-display_seen_mail_check, MN_CONF_DISPLAY_SEEN_MAIL, 
active,
+selfp-autostart_mn, MN_CONF_AUTOSTART, active,
 selfp-command_new_mail_check, 
MN_CONF_COMMANDS_NEW_MAIL_ENABLED, active,
 selfp-command_new_mail_entry, 
MN_CONF_COMMANDS_NEW_MAIL_COMMAND, text,
 selfp-command_mail_read_check, 
MN_CONF_COMMANDS_MAIL_READ_ENABLED, active,
@@ -412,6 +415,32 @@
   }
 
   protected void
+autostart_mn_toggled_h (self, GtkButton *button)
+  {
+// Freedesktop.org standard for autostarting applications
+const char *filename = ~/.config/mail-notification.desktop;
+FILE *file;
+
+// Create the desktop file
+if( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(selfp-autostart_mn)) ){
+
+  if ((file = fopen( filename, wt)) == NULL) {
+fprintf( stderr, Can't create autostart file: %s, filename );
+  }
+  fprintf( file, [Desktop Entry]\n );
+  fprintf( file, Name=mail-notification\n );
+  fprintf( file, Encoding=UTF-8\n );
+  fprintf( file, Version=1.0\n );
+  fprintf( file, Exec=mail-notification --sm-disable\n\n );
+  fclose( file );
+} else {
+  if( unlink( filename ) != 0 ) {
+printf( Failed to delete %s\n, filename );
+  }
+}
+  }
+
+  protected void
 add_clicked_h (self, GtkButton *button)
   {
 mn_mailbox_view_activate_add(MN_MAILBOX_VIEW(selfp-list));
--- ui/properties-dialog.glade.old  2006-05-03 21:32:03.0 -0400
+++ ui/properties-dialog.glade  2006-08-23 01:27:17.0 -0400
@@ -2,7 +2,6 @@
 !DOCTYPE glade-interface SYSTEM http://glade.gnome.org/glade-2.0.dtd;
 
 glade-interface
-requires lib=gnome/
 
 widget class=GtkDialog id=dialog
   property name=border_width5/property
@@ -125,6 +124,26 @@
  property name=fillFalse/property
/packing
  /child
+
+ child
+   widget class=GtkCheckButton id=autostart_mn
+ property name=visibleTrue/property
+ property name=can_focusTrue/property
+ property name=label 
translatable=yesAutostart mail-notification at startup/property
+ property name=use_underlineTrue/property
+ property 
name=reliefGTK_RELIEF_NORMAL/property
+ property name=focus_on_clickTrue/property
+ property name=activeFalse/property
+ property name=inconsistentFalse/property
+ property name=draw_indicatorTrue/property
+ signal name=toggled 
handler=autostart_mn_toggled_h last_modification_time=Wed, 23 Aug 2006 
05:19:55 GMT/
+   /widget
+   packing
+ property name=padding0/property
+ property name=expandFalse/property
+ property name=fillFalse/property
+   /packing
+  

Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-23 Thread Pascal

Argh... when I do stupid errors like that it means i need sleep.
Sorry for the spam... here's a proper patch.

The path to ~/.config/autostart/ was wrong.

I'll goto bed instead of doing other errors. ttyl.

-Pascal
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
--- src/mn-conf.h.old   2006-05-18 09:23:42.0 -0400
+++ src/mn-conf.h   2006-08-23 01:16:16.0 -0400
@@ -89,6 +89,8 @@
   MN_CONF_MAIL_SUMMARY_POPUP_FONTS_CONTENTS_NAMESPACE /font
 #define MN_CONF_DISPLAY_SEEN_MAIL \
   MN_CONF_NAMESPACE /display-seen-mail
+#define MN_CONF_AUTOSTART \
+  MN_CONF_NAMESPACE /autostart-mn
 #define MN_CONF_TOOLTIP_MAIL_SUMMARY \
   MN_CONF_NAMESPACE /tooltip-mail-summary
 #define MN_CONF_ALWAYS_DISPLAY_ICON \
--- src/mn-properties-dialog.gob.old2006-05-18 09:23:42.0 -0400
+++ src/mn-properties-dialog.gob2006-08-23 02:25:18.0 -0400
@@ -48,6 +48,7 @@
 
   /* general tab */
   private GtkWidget *display_seen_mail_check;
+  private GtkWidget *autostart_mn;
   private GtkWidget *scrolled;
   private GtkWidget *list;
   private GtkWidget *selected_label;
@@ -122,6 +123,7 @@
  mn_properties_dialog_,
  notebook, selfp-notebook,
  display_seen_mail_check, 
selfp-display_seen_mail_check,
+ autostart_mn, selfp-autostart_mn,
  scrolled, selfp-scrolled,
  selected_label, selfp-selected_label,
  remove, selfp-remove,
@@ -220,6 +222,7 @@
 
 mn_conf_link(self, MN_CONF_PROPERTIES_DIALOG,
 selfp-display_seen_mail_check, MN_CONF_DISPLAY_SEEN_MAIL, 
active,
+selfp-autostart_mn, MN_CONF_AUTOSTART, active,
 selfp-command_new_mail_check, 
MN_CONF_COMMANDS_NEW_MAIL_ENABLED, active,
 selfp-command_new_mail_entry, 
MN_CONF_COMMANDS_NEW_MAIL_COMMAND, text,
 selfp-command_mail_read_check, 
MN_CONF_COMMANDS_MAIL_READ_ENABLED, active,
@@ -412,6 +415,32 @@
   }
 
   protected void
+autostart_mn_toggled_h (self, GtkButton *button)
+  {
+// Freedesktop.org standard for autostarting applications
+const char *filename = ~/.config/autostart/mail-notification.desktop;
+FILE *file;
+
+// Create the desktop file
+if( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(selfp-autostart_mn)) ){
+
+  if ((file = fopen( filename, wt)) == NULL) {
+fprintf( stderr, Can't create autostart file: %s, filename );
+  }
+  fprintf( file, [Desktop Entry]\n );
+  fprintf( file, Name=mail-notification\n );
+  fprintf( file, Encoding=UTF-8\n );
+  fprintf( file, Version=1.0\n );
+  fprintf( file, Exec=mail-notification --sm-disable\n\n );
+  fclose( file );
+} else {
+  if( unlink( filename ) != 0 ) {
+printf( Failed to delete %s\n, filename );
+  }
+}
+  }
+
+  protected void
 add_clicked_h (self, GtkButton *button)
   {
 mn_mailbox_view_activate_add(MN_MAILBOX_VIEW(selfp-list));
--- ui/properties-dialog.glade.old  2006-05-03 21:32:03.0 -0400
+++ ui/properties-dialog.glade  2006-08-23 01:27:17.0 -0400
@@ -2,7 +2,6 @@
 !DOCTYPE glade-interface SYSTEM http://glade.gnome.org/glade-2.0.dtd;
 
 glade-interface
-requires lib=gnome/
 
 widget class=GtkDialog id=dialog
   property name=border_width5/property
@@ -125,6 +124,26 @@
  property name=fillFalse/property
/packing
  /child
+
+ child
+   widget class=GtkCheckButton id=autostart_mn
+ property name=visibleTrue/property
+ property name=can_focusTrue/property
+ property name=label 
translatable=yesAutostart mail-notification at startup/property
+ property name=use_underlineTrue/property
+ property 
name=reliefGTK_RELIEF_NORMAL/property
+ property name=focus_on_clickTrue/property
+ property name=activeFalse/property
+ property name=inconsistentFalse/property
+ property name=draw_indicatorTrue/property
+ signal name=toggled 
handler=autostart_mn_toggled_h last_modification_time=Wed, 23 Aug 2006 
05:19:55 GMT/
+   /widget
+   packing
+ property name=padding0/property
+ property name=expandFalse/property
+ property name=fillFalse/property
+   /packing
+ /child
/widget
  /child
/widget


Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-23 Thread Pascal

Hi Jean-Yves,
here's an implementation proposal for per user autostart following a
debian bugreport.

The option is in the main mail-notification properties dialog.
Patch was applied against 3.0.

Please tell me what you think about it.

thanks,

-Pascal
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
--- src/mn-properties-dialog.gob.old2006-05-18 09:23:42.0 -0400
+++ src/mn-properties-dialog.gob2006-08-23 02:25:18.0 -0400
@@ -33,6 +33,7 @@
 #include mn-shell.h
 #include mn-mail-summary-popup.h
 #include mn-message.h
+#include errno.h

 enum
 {
@@ -48,6 +48,7 @@
 
   /* general tab */
   private GtkWidget *display_seen_mail_check;
+  private GtkWidget *autostart_mn;
   private GtkWidget *scrolled;
   private GtkWidget *list;
   private GtkWidget *selected_label;
@@ -122,6 +123,7 @@
  mn_properties_dialog_,
  notebook, selfp-notebook,
  display_seen_mail_check, 
selfp-display_seen_mail_check,
+ autostart_mn, selfp-autostart_mn,
  scrolled, selfp-scrolled,
  selected_label, selfp-selected_label,
  remove, selfp-remove,
@@ -412,6 +415,45 @@
   }
 
   protected void
+autostart_mn_toggled_h (self, GtkButton *button)
+  {
+// Freedesktop.org standard for autostarting applications
+const char *filename = NULL;
+filename = g_build_filename(g_get_home_dir(),
+.config/autostart,
+mail-notification.desktop,
+NULL);
+FILE *file;
+
+// Create the desktop file
+if( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(selfp-autostart_mn)) ){
+
+  if ((file = fopen( filename, wt)) == NULL) {
+mn_error_dialog(NULL,
+_(A file creation error has occurred),
+_(Unable to create file \%s\: %s.),
+filename,
+g_strerror(errno));
+return;
+  }
+  fprintf( file, [Desktop Entry]\n );
+  fprintf( file, Name=mail-notification\n );
+  fprintf( file, Encoding=UTF-8\n );
+  fprintf( file, Version=1.0\n );
+  fprintf( file, Exec=mail-notification --sm-disable\n\n );
+  fclose( file );
+} else {
+  if( unlink( filename ) != 0 ) {
+mn_error_dialog(NULL,
+_(A file removal error occured in Mail Notification),
+_(Unable to delete file \%s\: %s.),
+filename,
+g_strerror(errno));
+  }
+}
+  }
+
+  protected void
 add_clicked_h (self, GtkButton *button)
   {
 mn_mailbox_view_activate_add(MN_MAILBOX_VIEW(selfp-list));
--- ui/properties-dialog.glade.old  2006-05-03 21:32:03.0 -0400
+++ ui/properties-dialog.glade  2006-08-23 01:27:17.0 -0400
@@ -2,7 +2,6 @@
 !DOCTYPE glade-interface SYSTEM http://glade.gnome.org/glade-2.0.dtd;
 
 glade-interface
-requires lib=gnome/
 
 widget class=GtkDialog id=dialog
   property name=border_width5/property
@@ -125,6 +124,26 @@
  property name=fillFalse/property
/packing
  /child
+
+ child
+   widget class=GtkCheckButton id=autostart_mn
+ property name=visibleTrue/property
+ property name=can_focusTrue/property
+ property name=label 
translatable=yesAutostart mail-notification at startup/property
+ property name=use_underlineTrue/property
+ property 
name=reliefGTK_RELIEF_NORMAL/property
+ property name=focus_on_clickTrue/property
+ property name=activeFalse/property
+ property name=inconsistentFalse/property
+ property name=draw_indicatorTrue/property
+ signal name=toggled 
handler=autostart_mn_toggled_h last_modification_time=Wed, 23 Aug 2006 
05:19:55 GMT/
+   /widget
+   packing
+ property name=padding0/property
+ property name=expandFalse/property
+ property name=fillFalse/property
+   /packing
+ /child
/widget
  /child
/widget


Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-23 Thread Pascal

Hi again,
I needed a conf variable to hold the value.

Here's a modified patch.

-Pascal
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
--- src/mn-conf.h.old   2006-05-18 09:23:42.0 -0400
+++ src/mn-conf.h   2006-08-23 01:16:16.0 -0400
@@ -89,6 +89,8 @@
   MN_CONF_MAIL_SUMMARY_POPUP_FONTS_CONTENTS_NAMESPACE /font
 #define MN_CONF_DISPLAY_SEEN_MAIL \
   MN_CONF_NAMESPACE /display-seen-mail
+#define MN_CONF_AUTOSTART \
+  MN_CONF_NAMESPACE /autostart-mn
 #define MN_CONF_TOOLTIP_MAIL_SUMMARY \
   MN_CONF_NAMESPACE /tooltip-mail-summary
 #define MN_CONF_ALWAYS_DISPLAY_ICON \
--- src/mn-properties-dialog.gob.old2006-05-18 09:23:42.0 -0400
+++ src/mn-properties-dialog.gob2006-08-23 02:25:18.0 -0400
@@ -33,6 +33,7 @@
 #include mn-shell.h
 #include mn-mail-summary-popup.h
 #include mn-message.h
+#include errno.h

 enum
 {
@@ -48,6 +48,7 @@
 
   /* general tab */
   private GtkWidget *display_seen_mail_check;
+  private GtkWidget *autostart_mn;
   private GtkWidget *scrolled;
   private GtkWidget *list;
   private GtkWidget *selected_label;
@@ -122,6 +123,7 @@
  mn_properties_dialog_,
  notebook, selfp-notebook,
  display_seen_mail_check, 
selfp-display_seen_mail_check,
+ autostart_mn, selfp-autostart_mn,
  scrolled, selfp-scrolled,
  selected_label, selfp-selected_label,
  remove, selfp-remove,
@@ -220,6 +222,7 @@
 
 mn_conf_link(self, MN_CONF_PROPERTIES_DIALOG,
 selfp-display_seen_mail_check, MN_CONF_DISPLAY_SEEN_MAIL, 
active,
+selfp-autostart_mn, MN_CONF_AUTOSTART, active,
 selfp-command_new_mail_check, 
MN_CONF_COMMANDS_NEW_MAIL_ENABLED, active,
 selfp-command_new_mail_entry, 
MN_CONF_COMMANDS_NEW_MAIL_COMMAND, text,
 selfp-command_mail_read_check, 
MN_CONF_COMMANDS_MAIL_READ_ENABLED, active,
@@ -412,6 +415,45 @@
   }
 
   protected void
+autostart_mn_toggled_h (self, GtkButton *button)
+  {
+// Freedesktop.org standard for autostarting applications
+const char *filename = NULL;
+filename = g_build_filename(g_get_home_dir(),
+.config/autostart,
+mail-notification.desktop,
+NULL);
+FILE *file;
+
+// Create the desktop file
+if( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(selfp-autostart_mn)) ){
+
+  if ((file = fopen( filename, wt)) == NULL) {
+mn_error_dialog(NULL,
+_(A file creation error has occurred),
+_(Unable to create file \%s\: %s.),
+filename,
+g_strerror(errno));
+return;
+  }
+  fprintf( file, [Desktop Entry]\n );
+  fprintf( file, Name=mail-notification\n );
+  fprintf( file, Encoding=UTF-8\n );
+  fprintf( file, Version=1.0\n );
+  fprintf( file, Exec=mail-notification --sm-disable\n\n );
+  fclose( file );
+} else {
+  if( unlink( filename ) != 0 ) {
+mn_error_dialog(NULL,
+_(A file removal error occured in Mail Notification),
+_(Unable to delete file \%s\: %s.),
+filename,
+g_strerror(errno));
+  }
+}
+  }
+
+  protected void
 add_clicked_h (self, GtkButton *button)
   {
 mn_mailbox_view_activate_add(MN_MAILBOX_VIEW(selfp-list));
--- ui/properties-dialog.glade.old  2006-05-03 21:32:03.0 -0400
+++ ui/properties-dialog.glade  2006-08-23 01:27:17.0 -0400
@@ -2,7 +2,6 @@
 !DOCTYPE glade-interface SYSTEM http://glade.gnome.org/glade-2.0.dtd;
 
 glade-interface
-requires lib=gnome/
 
 widget class=GtkDialog id=dialog
   property name=border_width5/property
@@ -125,6 +124,26 @@
  property name=fillFalse/property
/packing
  /child
+
+ child
+   widget class=GtkCheckButton id=autostart_mn
+ property name=visibleTrue/property
+ property name=can_focusTrue/property
+ property name=label 
translatable=yesAutostart mail-notification at startup/property
+ property name=use_underlineTrue/property
+ property 
name=reliefGTK_RELIEF_NORMAL/property
+ property name=focus_on_clickTrue/property
+ property name=activeFalse/property
+ property name=inconsistentFalse/property
+ property name=draw_indicatorTrue/property
+ 

Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-22 Thread Pascal

Hi Erich,
it seems i wasn't clear enough.

What i was proposing:
1) Ask the admin at postinst if he wants to globally autostart
mail-notification (/etc/xdg/autostart)
2) Ask upstream to add an option in mn-preferences to autostart on a
per user basis (~/.config/autostart)

It would no longer autostart for everyone, by default.
That's what i meant.

-Pascal

On 8/22/06, Erich Schubert [EMAIL PROTECTED] wrote:

Hi,
 I could still add it globally on admin's demand postinstallation with debconf.
 Would that be a good solution to you?

No, that doesn't really help much. Thats as good as saying if you don't
want mail-notification to be automatially started, don't install it...

I use mail-notification, but other users on my system don't. I'd like it
to autostart, the others don't; still the easiest way is to go through
the Sessions menu of Gnome, thats really hidden.
There should be an easy UI option in mail-notification (not at a
completely different place) to enable or disable autostart. Preferrably
enable it...
IMHO mail-notification shouldn't auto-start by default, because it will
welcome to user with a quite complicated dialog. On each login.

Instead, it should only auto-start when the user has configured it and
toggled a checkbox automatically start at login there.

best regards,
Erich Schubert
--
erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C(o_
  A polar bear is a rectangular bear after a coordinate transform.   //\
   Wirklich gute Freunde machen sich erst aus dem Staub, wenn manV_/_
   sie braucht. --- Charles Maurice de Tayllerand





--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-22 Thread Erich Schubert
Hi,
 I could still add it globally on admin's demand postinstallation with debconf.
 Would that be a good solution to you?

No, that doesn't really help much. Thats as good as saying if you don't
want mail-notification to be automatially started, don't install it...

I use mail-notification, but other users on my system don't. I'd like it
to autostart, the others don't; still the easiest way is to go through
the Sessions menu of Gnome, thats really hidden.
There should be an easy UI option in mail-notification (not at a
completely different place) to enable or disable autostart. Preferrably
enable it...
IMHO mail-notification shouldn't auto-start by default, because it will
welcome to user with a quite complicated dialog. On each login.

Instead, it should only auto-start when the user has configured it and
toggled a checkbox automatically start at login there.

best regards,
Erich Schubert
-- 
erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C(o_
  A polar bear is a rectangular bear after a coordinate transform.   //\
   Wirklich gute Freunde machen sich erst aus dem Staub, wenn manV_/_
   sie braucht. --- Charles Maurice de Tayllerand



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-22 Thread Erich Schubert
Hi Pascal,
 1) Ask the admin at postinst if he wants to globally autostart
 mail-notification (/etc/xdg/autostart)

I think that is unnecessary once autostart is easy enough to enable.
People need to configure mail-notification anyway. You could
automatically enable mail-notification when the user configures the
first mailbox.

The question basically is a do you want to bugger users on each login
to configure mail-notification? And adding a debconf questions for this
option is a waste IMHO. we have too many debconf questions already.
IMHO it should go with the sane defaults - autostart disabled, but add
an easy way to enable/disable autostart.

best regards,
Erich Schubert
-- 
 erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C (o_
  Go away or i'll replace you with a very small shell script.  //\
Wende Dein Gesicht der Sonne zu, dann fallen die Schatten hinter Dich. V_/_



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-21 Thread Erich Schubert
Package: mail-notification
Version: 3.0.dfsg.1-4
Severity: important

Hi,
When a user doesn't configure mail-notification, it will pop up on him
on every single login. Autostart should only happend when
mail-notification is configured, or it should offer an easy way of
disabling it (not having to go through the Sessions menu of Gnome)
Maybe keep the autostart disabled by default, and only enabled it when
the user chooses to do so during configuration?

I'm picking severity important, since this makes mail-notification a
major annoyance for users who havn't configured it.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages mail-notification depends on:
ii  gnome-icon-theme2.14.2-2 GNOME Desktop icon theme
ii  libart-2.0-22.3.17-1 Library of functions for 2D graphi
ii  libatk1.0-0 1.12.1-1 The ATK accessibility toolkit
ii  libaudiofile0   0.2.6-6  Open-source version of SGI's audio
ii  libavahi-client30.6.12-1 Avahi client library
ii  libavahi-common30.6.12-1 Avahi common library
ii  libavahi-glib1  0.6.12-1 Avahi glib integration library
ii  libbonobo2-02.14.0-1 Bonobo CORBA interfaces library
ii  libbonoboui2-0  2.14.0-4 The Bonobo UI library
ii  libc6   2.3.6.ds1-2  GNU C Library: Shared libraries
ii  libcairo2   1.2.4-1  The Cairo 2D vector graphics libra
ii  libdbus-1-2 0.62-4   simple interprocess messaging syst
ii  libeel2-2   2.14.3-1 Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]  0.2.36-3 Enlightened Sound Daemon (ALSA) - 
ii  libfontconfig1  2.3.2-7  generic font configuration library
ii  libfreetype62.2.1-2  FreeType 2 font engine, shared lib
ii  libgail-common  1.8.11-2 GNOME Accessibility Implementation
ii  libgail17   1.8.11-2 GNOME Accessibility Implementation
ii  libgconf2-4 2.14.0-4 GNOME configuration database syste
ii  libgcrypt11 1.2.2-3  LGPL Crypto library - runtime libr
ii  libglade2-0 1:2.6.0-2library to load .glade files at ru
ii  libglib2.0-02.12.0-1 The GLib library of C routines
ii  libgmime-2.0-2  2.2.3-1  MIME library, unstable version
ii  libgnome-keyring0   0.4.9-1  GNOME keyring services library
ii  libgnome2-0 2.14.1-3 The GNOME 2 library - runtime file
ii  libgnomecanvas2-0   2.14.0-2 A powerful object-oriented display
ii  libgnomeui-02.14.1-2 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0  2.14.2-1 GNOME virtual file-system (runtime
ii  libgnutls13 1.4.2-1  the GNU TLS library - runtime libr
ii  libgpg-error0   1.2-1library for common error values an
ii  libgtk2.0-0 2.8.20-1 The GTK+ graphical user interface 
ii  libice6 1:1.0.0-3X11 Inter-Client Exchange library
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  liborbit2   1:2.14.0-2   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0   1.13.2-1 Layout and rendering of internatio
ii  libpng12-0  1.2.8rel-5.2 PNG library - runtime
ii  libpopt01.10-3   lib for parsing cmdline parameters
ii  libsasl22.1.19.dfsg1-0.2 Authentication abstraction library
ii  libsm6  1:1.0.0-4X11 Session Management library
ii  libtasn1-3  0.3.5-2  Manage ASN.1 structures (runtime)
ii  libx11-62:1.0.0-8X11 client-side library
ii  libxcursor1 1.1.5.2-5X cursor management library
ii  libxext61:1.0.0-4X11 miscellaneous extension librar
ii  libxfixes3  1:4.0.1-1X11 miscellaneous 'fixes' extensio
ii  libxi6  1:1.0.0-5X11 Input extension library
ii  libxinerama11:1.0.1-4.1  X11 Xinerama extension library
ii  libxml2 2.6.26.dfsg-3GNOME XML library
ii  libxrandr2  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1 1:0.9.1-1X Rendering Extension client libra
ii  zlib1g  1:1.2.3-13   compression library - runtime

mail-notification recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-21 Thread Pascal

Hi Eric,
 thank you for your suggestion.
I'll have a look at how to do this at configuration time with debconf.

Let me know if you have other suggestions.

-Pascal

On 8/21/06, Erich Schubert [EMAIL PROTECTED] wrote:

Package: mail-notification
Version: 3.0.dfsg.1-4
Severity: important

Hi,
When a user doesn't configure mail-notification, it will pop up on him
on every single login. Autostart should only happend when
mail-notification is configured, or it should offer an easy way of
disabling it (not having to go through the Sessions menu of Gnome)
Maybe keep the autostart disabled by default, and only enabled it when
the user chooses to do so during configuration?

I'm picking severity important, since this makes mail-notification a
major annoyance for users who havn't configured it.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages mail-notification depends on:
ii  gnome-icon-theme2.14.2-2 GNOME Desktop icon theme
ii  libart-2.0-22.3.17-1 Library of functions for 2D graphi
ii  libatk1.0-0 1.12.1-1 The ATK accessibility toolkit
ii  libaudiofile0   0.2.6-6  Open-source version of SGI's audio
ii  libavahi-client30.6.12-1 Avahi client library
ii  libavahi-common30.6.12-1 Avahi common library
ii  libavahi-glib1  0.6.12-1 Avahi glib integration library
ii  libbonobo2-02.14.0-1 Bonobo CORBA interfaces library
ii  libbonoboui2-0  2.14.0-4 The Bonobo UI library
ii  libc6   2.3.6.ds1-2  GNU C Library: Shared libraries
ii  libcairo2   1.2.4-1  The Cairo 2D vector graphics libra
ii  libdbus-1-2 0.62-4   simple interprocess messaging syst
ii  libeel2-2   2.14.3-1 Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]  0.2.36-3 Enlightened Sound Daemon (ALSA) -
ii  libfontconfig1  2.3.2-7  generic font configuration library
ii  libfreetype62.2.1-2  FreeType 2 font engine, shared lib
ii  libgail-common  1.8.11-2 GNOME Accessibility Implementation
ii  libgail17   1.8.11-2 GNOME Accessibility Implementation
ii  libgconf2-4 2.14.0-4 GNOME configuration database syste
ii  libgcrypt11 1.2.2-3  LGPL Crypto library - runtime libr
ii  libglade2-0 1:2.6.0-2library to load .glade files at ru
ii  libglib2.0-02.12.0-1 The GLib library of C routines
ii  libgmime-2.0-2  2.2.3-1  MIME library, unstable version
ii  libgnome-keyring0   0.4.9-1  GNOME keyring services library
ii  libgnome2-0 2.14.1-3 The GNOME 2 library - runtime file
ii  libgnomecanvas2-0   2.14.0-2 A powerful object-oriented display
ii  libgnomeui-02.14.1-2 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0  2.14.2-1 GNOME virtual file-system (runtime
ii  libgnutls13 1.4.2-1  the GNU TLS library - runtime libr
ii  libgpg-error0   1.2-1library for common error values an
ii  libgtk2.0-0 2.8.20-1 The GTK+ graphical user interface
ii  libice6 1:1.0.0-3X11 Inter-Client Exchange library
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG
ii  liborbit2   1:2.14.0-2   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0   1.13.2-1 Layout and rendering of internatio
ii  libpng12-0  1.2.8rel-5.2 PNG library - runtime
ii  libpopt01.10-3   lib for parsing cmdline parameters
ii  libsasl22.1.19.dfsg1-0.2 Authentication abstraction library
ii  libsm6  1:1.0.0-4X11 Session Management library
ii  libtasn1-3  0.3.5-2  Manage ASN.1 structures (runtime)
ii  libx11-62:1.0.0-8X11 client-side library
ii  libxcursor1 1.1.5.2-5X cursor management library
ii  libxext61:1.0.0-4X11 miscellaneous extension librar
ii  libxfixes3  1:4.0.1-1X11 miscellaneous 'fixes' extensio
ii  libxi6  1:1.0.0-5X11 Input extension library
ii  libxinerama11:1.0.1-4.1  X11 Xinerama extension library
ii  libxml2 2.6.26.dfsg-3GNOME XML library
ii  libxrandr2  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1 1:0.9.1-1X Rendering Extension client libra
ii  zlib1g  1:1.2.3-13   compression library - runtime

mail-notification 

Bug#384133: mail-notification: Needs easy way of disabling autostart

2006-08-21 Thread Pascal

By rereading your email i now understand that you would like a
mecanism acting on a per user basis.
Then that belongs in ~/.config/autostart .

Having the option to switch autostart on/off within
mail-notification's configuration would be nicer.
Perhaps that bug should be forwarded upstream?

I could still add it globally on admin's demand postinstallation with debconf.
Would that be a good solution to you?

-Pascal

On 8/21/06, Erich Schubert [EMAIL PROTECTED] wrote:

Package: mail-notification
Version: 3.0.dfsg.1-4
Severity: important

Hi,
When a user doesn't configure mail-notification, it will pop up on him
on every single login. Autostart should only happend when
mail-notification is configured, or it should offer an easy way of
disabling it (not having to go through the Sessions menu of Gnome)
Maybe keep the autostart disabled by default, and only enabled it when
the user chooses to do so during configuration?

I'm picking severity important, since this makes mail-notification a
major annoyance for users who havn't configured it.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages mail-notification depends on:
ii  gnome-icon-theme2.14.2-2 GNOME Desktop icon theme
ii  libart-2.0-22.3.17-1 Library of functions for 2D graphi
ii  libatk1.0-0 1.12.1-1 The ATK accessibility toolkit
ii  libaudiofile0   0.2.6-6  Open-source version of SGI's audio
ii  libavahi-client30.6.12-1 Avahi client library
ii  libavahi-common30.6.12-1 Avahi common library
ii  libavahi-glib1  0.6.12-1 Avahi glib integration library
ii  libbonobo2-02.14.0-1 Bonobo CORBA interfaces library
ii  libbonoboui2-0  2.14.0-4 The Bonobo UI library
ii  libc6   2.3.6.ds1-2  GNU C Library: Shared libraries
ii  libcairo2   1.2.4-1  The Cairo 2D vector graphics libra
ii  libdbus-1-2 0.62-4   simple interprocess messaging syst
ii  libeel2-2   2.14.3-1 Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]  0.2.36-3 Enlightened Sound Daemon (ALSA) -
ii  libfontconfig1  2.3.2-7  generic font configuration library
ii  libfreetype62.2.1-2  FreeType 2 font engine, shared lib
ii  libgail-common  1.8.11-2 GNOME Accessibility Implementation
ii  libgail17   1.8.11-2 GNOME Accessibility Implementation
ii  libgconf2-4 2.14.0-4 GNOME configuration database syste
ii  libgcrypt11 1.2.2-3  LGPL Crypto library - runtime libr
ii  libglade2-0 1:2.6.0-2library to load .glade files at ru
ii  libglib2.0-02.12.0-1 The GLib library of C routines
ii  libgmime-2.0-2  2.2.3-1  MIME library, unstable version
ii  libgnome-keyring0   0.4.9-1  GNOME keyring services library
ii  libgnome2-0 2.14.1-3 The GNOME 2 library - runtime file
ii  libgnomecanvas2-0   2.14.0-2 A powerful object-oriented display
ii  libgnomeui-02.14.1-2 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0  2.14.2-1 GNOME virtual file-system (runtime
ii  libgnutls13 1.4.2-1  the GNU TLS library - runtime libr
ii  libgpg-error0   1.2-1library for common error values an
ii  libgtk2.0-0 2.8.20-1 The GTK+ graphical user interface
ii  libice6 1:1.0.0-3X11 Inter-Client Exchange library
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG
ii  liborbit2   1:2.14.0-2   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0   1.13.2-1 Layout and rendering of internatio
ii  libpng12-0  1.2.8rel-5.2 PNG library - runtime
ii  libpopt01.10-3   lib for parsing cmdline parameters
ii  libsasl22.1.19.dfsg1-0.2 Authentication abstraction library
ii  libsm6  1:1.0.0-4X11 Session Management library
ii  libtasn1-3  0.3.5-2  Manage ASN.1 structures (runtime)
ii  libx11-62:1.0.0-8X11 client-side library
ii  libxcursor1 1.1.5.2-5X cursor management library
ii  libxext61:1.0.0-4X11 miscellaneous extension librar
ii  libxfixes3  1:4.0.1-1X11 miscellaneous 'fixes' extensio
ii  libxi6  1:1.0.0-5X11 Input extension library
ii  libxinerama11:1.0.1-4.1  X11 Xinerama extension library
ii  libxml2 2.6.26.dfsg-3GNOME XML library