aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-15 11:40:19 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-15 11:40:19 +0100
commit4ead9790aa2d37596ddf192c9f81f79eb0287d72 (patch)
treef4f71112fad843126e92045c1399ef43e98e1a6e
parent32708cae478d228d311a03ac5da153de383e48cb (diff)
downloadayatana-indicator-printers-4ead9790aa2d37596ddf192c9f81f79eb0287d72.tar.gz
ayatana-indicator-printers-4ead9790aa2d37596ddf192c9f81f79eb0287d72.tar.bz2
ayatana-indicator-printers-4ead9790aa2d37596ddf192c9f81f79eb0287d72.zip
Call system-config-printer instead of g-c-c's printer panel
-rw-r--r--src/indicator-printer-state-notifier.c2
-rw-r--r--src/indicator-printers-menu.c2
-rw-r--r--src/spawn-printer-settings.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-printer-state-notifier.c b/src/indicator-printer-state-notifier.c
index b0c19e5..d3668a2 100644
--- a/src/indicator-printer-state-notifier.c
+++ b/src/indicator-printer-state-notifier.c
@@ -155,7 +155,7 @@ show_alert_box (const gchar *printer,
gtk_widget_show_all (dialog);
if (gtk_dialog_run (GTK_DIALOG (dialog)) == RESPONSE_SHOW_SYSTEM_SETTINGS)
- spawn_printer_settings_with_args ("show-printer %s", printer);
+ spawn_printer_settings ();
gtk_widget_destroy (dialog);
}
diff --git a/src/indicator-printers-menu.c b/src/indicator-printers-menu.c
index 0314fa0..e739a63 100644
--- a/src/indicator-printers-menu.c
+++ b/src/indicator-printers-menu.c
@@ -127,7 +127,7 @@ on_printer_item_activated (DbusmenuMenuitem *menuitem,
gpointer user_data)
{
const gchar *printer = user_data;
- spawn_printer_settings_with_args ("show-printer %s", printer);
+ spawn_printer_settings_with_args ("--show-jobs %s", printer);
}
diff --git a/src/spawn-printer-settings.c b/src/spawn-printer-settings.c
index bf1893d..320f2da 100644
--- a/src/spawn-printer-settings.c
+++ b/src/spawn-printer-settings.c
@@ -15,7 +15,7 @@ spawn_printer_settings_with_args (const gchar *fmt,
GString *cmdline;
GError *err = NULL;
- cmdline = g_string_new ("gnome-control-center printers ");
+ cmdline = g_string_new ("system-config-printer ");
if (fmt) {
va_list args;