Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
gnome-do
gnome-do-quiet-autostart.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-do-quiet-autostart.patch of Package gnome-do
Index: gnome-do-0.8.2/Do/src/Do.cs =================================================================== --- gnome-do-0.8.2.orig/Do/src/Do.cs +++ gnome-do-0.8.2/Do/src/Do.cs @@ -45,6 +45,19 @@ namespace Do { Gtk.Application.Init (); Gdk.Threads.Init (); + bool arg_quiet = false; + int i = 0; + while (i < args.Length) { + string arg = args [i]; + ++i; + + switch (arg) { + case "--quiet": + arg_quiet = true; + break; + } + } + // We are conservative with the log at first. Log.DisplayLevel = LogLevel.Error; if (CorePreferences.PeekDebug) @@ -76,7 +89,7 @@ namespace Do { keybinder = new XKeybinder (); SetupKeybindings (); - if (!Preferences.QuietStart) + if (!arg_quiet && !Preferences.QuietStart) Controller.Summon (); Gtk.Application.Run (); Index: gnome-do-0.8.2/data/Makefile.am =================================================================== --- gnome-do-0.8.2.orig/data/Makefile.am +++ gnome-do-0.8.2/data/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS = icons Docky.DefaultClockTheme -EXTRA_DIST = $(schemas_in_files) gnome-do.desktop.in -CLEANFILES = $(schemas_DATA) gnome-do.desktop +EXTRA_DIST = $(schemas_in_files) gnome-do.desktop.in gnome-do-autostart.desktop.in +CLEANFILES = $(schemas_DATA) gnome-do.desktop gnome-do-autostart.desktop schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_in_files = gnome-do.schemas.in @@ -11,7 +11,7 @@ applicationsdir = $(datadir)/application applications_DATA = gnome-do.desktop startupdir = $(sysconfdir)/xdg/autostart -startup_DATA = gnome-do.desktop +startup_DATA = gnome-do-autostart.desktop @INTLTOOL_DESKTOP_RULE@ Index: gnome-do-0.8.2/data/gnome-do-autostart.desktop.in =================================================================== --- /dev/null +++ gnome-do-0.8.2/data/gnome-do-autostart.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=GNOME Do +Type=Application +Exec=gnome-do --quiet +Terminal=false +Icon=gnome-do +_Comment=Do things as quickly as possible (but no quicker) with your files, bookmarks, applications, music, contacts, and more! +Categories=Utility;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor