diff options
Diffstat (limited to 'src/indicator-printer-state-notifier.c')
-rw-r--r-- | src/indicator-printer-state-notifier.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indicator-printer-state-notifier.c b/src/indicator-printer-state-notifier.c index 7d8ce03..b0c19e5 100644 --- a/src/indicator-printer-state-notifier.c +++ b/src/indicator-printer-state-notifier.c @@ -24,6 +24,7 @@ #include <stdarg.h> #include "cups-notifier.h" +#include "spawn-printer-settings.h" #define RESPONSE_SHOW_SYSTEM_SETTINGS 1 @@ -153,7 +154,8 @@ show_alert_box (const gchar *printer, GTK_RESPONSE_OK); gtk_widget_show_all (dialog); - gtk_dialog_run (GTK_DIALOG (dialog)); + if (gtk_dialog_run (GTK_DIALOG (dialog)) == RESPONSE_SHOW_SYSTEM_SETTINGS) + spawn_printer_settings_with_args ("show-printer %s", printer); gtk_widget_destroy (dialog); } |