Commit graph

39 commits

Author SHA1 Message Date
Bastien Nocera
8473ed33eb shell: Make --help-all and --help-gtk work
https://bugzilla.gnome.org/show_bug.cgi?id=652165
2011-06-10 17:23:56 +01:00
Matthias Clasen
2219fc116c Register a symbolic icon size for icons in sidebar lists
That way, we can use 24, but still remain (at least theoretically)
themable for the benefit of large-print a11y themes.
2011-05-20 12:32:17 -04:00
Rodrigo Moya
a04a873d68 Kill warning in g_print call 2011-05-20 12:27:05 +02:00
Matthias Clasen
cbecb18788 Shell: fix handling of commandlines
With HANDLES_COMMANDLINE, the commandline is handled in the primary
instance. That means two things:
- We cannot let GOption handle --help, since it calls exit() after
  printing out the help
- The static booleans need to be reset to FALSE for each handled
  commandline

This commit adds a new string, 'Show help options'. It also includes
existing translations for this string that were taken from GLib.
2011-04-08 15:53:34 -04:00
Bastien Nocera
bd69290c46 shell: Turn off spinner cursor when launched
Startup notification should be stopped when the window appears.

https://bugzilla.gnome.org/show_bug.cgi?id=646045
2011-03-29 16:39:40 +01:00
Bastien Nocera
d7e4369d40 shell: Add "-v" for verbose option to the shell
And remove it in the sound panel, so that all the panels
use the same verbose settings.

https://bugzilla.gnome.org/show_bug.cgi?id=645435
2011-03-23 18:39:05 +00:00
Christian Persch
ace6fb9309 shell: Don't pass invalid option flags
G_OPTION_FLAG_OPTIONAL_ARG is only valid for callback options.

Bug #641290.
2011-02-03 14:30:03 +01:00
Bastien Nocera
fbbb9c35a9 shell: Add -o parameter to show the overview
Instead of just presenting the main window.
2010-12-02 19:17:38 +00:00
Matthias Clasen
d7b2e3144d shell: start in the right size
When starting up with a single panel, we don't want to show the full-height
window initially.
2010-11-19 15:08:23 -05:00
Bastien Nocera
d0d96529f2 shell: Correct "command-line" callback retval 2010-10-29 15:55:40 +01:00
Florian Müllner
ebc7a9ef72 shell: Adjust to API change in GApplicationCommandLine 2010-10-22 16:16:44 +02:00
Bastien Nocera
93ee44fe43 shell: Make it build and work against new GApplication 2010-10-22 14:08:11 +01:00
Bastien Nocera
9c8da4525f shell: Fix compile-time warning 2010-09-20 17:44:43 +01:00
Thomas Wood
1204832568 shell: use the correct command line argument during panel activation
Use the second argument from the argv list in the activation callback to
make sure the correct panel is loaded, since the first argument is the
application binary name.
2010-07-12 18:42:54 +01:00
Ryan Lortie
c3c00a7b4a GVariant API adjustment: byte_array -> bytestring 2010-07-07 22:38:53 -04:00
Richard Hughes
ae7944a0c8 Convert from libunique to GtkApplication to remove the final gtk-2.0 library 2010-06-21 16:30:44 +01:00
Thomas Wood
8a9c632975 shell: ensure translations are enabled
Make sure gettext is initialised correctly and make sure strings in the
GtkBuilder file are marked for translation.
2010-05-24 22:48:34 +01:00
Thomas Wood
4ea04c81dc shell: add a new settings shell
The new shell provides an implementation of CcShell and also removes the
dependency on libslab.
2010-05-19 11:11:26 +01:00
Scott Reeves
65ab7d7270 Fix issue with g-c-c shell and YaST shell having same unique identifier 2010-04-30 15:15:51 -06:00
Vincent Untz
915b55e3fb Use libunique in the shell to have a single-instance shell
This requires a slight API meaning change in libslab:
create_main_window() doesn't run gtk_main() anymore. This wasn't a good
thing anyway.
2009-08-11 11:33:24 +02:00
Vincent Untz
06b8b7d372 Fix error message with unknown option in shell 2009-08-08 17:07:32 +02:00
Vincent Untz
525d09fc83 Use GOption in the shell 2009-08-08 15:56:56 +02:00
Vincent Untz
a0156049c6 Do not depend on libpanel-applet. 2009-08-08 12:02:10 +02:00
Andreas Proschofsky
f7334d30ce Remove libgnomeui usage. Fixes bug #586527. 2009-08-07 17:41:06 +02:00
Rodrigo Moya
638dc8d768 Adapted to new libslab API, with no more Bonobo 2009-08-06 16:16:29 +02:00
Jens Granseuer
f5c26281b7 Patch by: Maxim Ermilov <zaspire@rambler.ru>
2008-11-20  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Maxim Ermilov <zaspire@rambler.ru>

	capplets/sound/mixer-support.[ch]:
	capplets/appearance/*.[ch]:
	capplets/common/*.[ch]:
	capplets/keybindings/egg*.[ch]:
	capplets/keyboard/gnome-keyboard-properties-a11y.h:
	shell/control-center.c:
	typing-break/*.[ch]:
	only include top-level headers for glib and GTK+ (bug #561562)

svn path=/trunk/; revision=9148
2008-11-20 18:43:38 +00:00
Scott Reeves
fe985d82ec use smaller icons, partial fix for 405078
svn path=/trunk/; revision=7282
2007-02-12 19:23:27 +00:00
Denis Washington
25a40b9c02 New files. Needed to fix bug #402797.
2007-02-06  Denis Washington  <denisw@svn.gnome.org>

	* shell/gnomecc.menu:
	* shell/gnomecc.directory.in: New files. Needed to fix bug #402797.
	
	* shell/control-center.c: Use gnomecc.menu instead of settings.menu.	
	
	* shell/Makefile.am: Add rules for gnomecc.directory.in.
	* po/POTFILES.in: Add gnomecc.directory.in.

svn path=/trunk/; revision=7251
2007-02-06 16:11:13 +00:00
Jens Granseuer
3cd5df3cc8 fix typo in usage string (noticed by Christian Persch, fixes bug #398361)
2007-01-30  Jens Granseuer  <jensgr@gmx.net>

        * control-center.c: (main): fix typo in usage string (noticed by
        Christian Persch, fixes bug #398361)

svn path=/trunk/; revision=7210
2007-01-30 21:13:02 +00:00
Scott Reeves
f3f24bbbc5 fix for inconsistent GenericNames
svn path=/trunk/; revision=7206
2007-01-30 17:18:30 +00:00
Kjartan Maraas
2377c1d757 ANSIfication of function declaration.
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* control-center.c: (get_actions_list): ANSIfication
	of function declaration.

svn path=/trunk/; revision=7201
2007-01-29 09:23:52 +00:00
Scott Reeves
89ba6b4b3d respect the exit_on_close flag
svn path=/trunk/; revision=7186
2007-01-26 21:25:46 +00:00
Rodrigo Moya
c9cd656a2f changed GConf prefix to /apps/... (handle_static_action_clicked): prevent
2007-01-26  Rodrigo Moya <rodrigo@gnome-db.org>

	* control-center.c: changed GConf prefix to /apps/...
	(handle_static_action_clicked): prevent capplets from being launched
	twice.

svn path=/trunk/; revision=7182
2007-01-26 12:58:53 +00:00
Rodrigo Moya
35dff218e8 program name is gnome-control-center.
2007-01-19  Rodrigo Moya <rodrigo@gnome-db.org>

	* control-center.c (main): program name is gnome-control-center.

svn path=/trunk/; revision=7155
2007-01-19 13:19:32 +00:00
Rodrigo Moya
492d578173 Fixes #396228
2007-01-18  Rodrigo Moya <rodrigo@gnome-db.org>

	Fixes #396228

	* control-center.c (main): added new argument to appshelldata_new to
	force the app to quit when the window is closed.

svn path=/trunk/; revision=7150
2007-01-18 12:50:11 +00:00
Paolo Borelli
533b2fb9e5 ops, thinko in last patch
svn path=/trunk/; revision=7127
2007-01-10 13:30:40 +00:00
Paolo Borelli
79a8a12b73 do not leak a GList.
2007-01-10  Paolo Borelli  <pborelli@katamail.com>

	* control-center.c: do not leak a GList.


svn path=/trunk/; revision=7126
2007-01-10 12:52:49 +00:00
Thomas Wood
20b8dd4a61 Applied the shell part of the patch from bug 382730 (fix build with C89
2007-01-11  Thomas Wood  <thos@gnome.org>

	* control-center.c: (get_actions_list), (main): Applied the shell part
	of the patch from bug 382730 (fix build with C89 compilers)

svn path=/trunk/; revision=7070
2007-01-06 23:04:53 +00:00
Rodrigo Moya
adb4a3a024 new control center shell.
2006-11-13  Rodrigo Moya <rodrigo@novell.com>

	* shell/*: new control center shell.

	* Makefile.am:
	* configure.in: added new directory to build.
2006-11-13 08:33:07 +00:00