Commit Graph

38 Commits

Author SHA1 Message Date
monsta
210eaf0929 plugins: fix number of callback arguments (#236)
* system management: fix number of callback arguments

fixes runtime warning:
TypeError: changePluginSize() takes exactly 4 arguments (3 given)

looks like it was overlooked in 66f76df4d3

* places: remove leftover argument from callback
2019-08-19 15:23:46 +02:00
Clement Lefebvre
b7a1fa0b94 Remove support for custom colors
Since the move to GTK3 custom color support is extremely hacky and buggy:

- It relies on gtk_widget_override_color() which is deprecated
- Only one call to gtk_widget_override_color() is functional, successive
calls are ignored, leading to the menu not changing colors when the custom
colors are changed or enabled/disabled.
- RegenPlugins leads to a loss of color.
- Theme changes are broken due to overridden colors.

The feature is also very niche and quite unecessary. If a custom color is
better than the default one we should apply the change in the theme or
define a new theme which inherits ours and simply defines the menu
differently.

The way to do this, in line with GTK's design, is via CSS at theme level.
2019-07-22 13:30:59 +02:00
Clement Lefebvre
66f76df4d3 Remove obsolete code 2019-05-20 15:44:26 +01:00
Clement Lefebvre
ca78764c13 Fix l10n
Move .ui to share folder
Fix makepot and translations
2019-05-20 14:50:32 +01:00
gm10
3c6e384a1d Assorted cleanup, fixes and performance improvements (#206)
* initial cleanup with some debug messaging

* further cleanup, mostly coding style

* - more cleanup, and speed-up
- more fixes, including many icon and encoding related issues
- replace some icons and remove compile.py
- prepare for python3 port as much as possible

* remove some more unneeded files, few left-over cleanups

* move some external scripts to python3 already

* Fix and clean up add_search_suggestions and add_apt_filter_results logic

* more cleanup, thx Codacity

* fix issue with a path

* add a killall to the test script, fix a method declaration

* fix custom colour setting

* keybinding: re-add GdkX11

* re-add mint-common dep

* Use os.path.expanduser("~") instead of os.environ

* revert re-add GdkX11, but import Gtk first
2019-02-11 13:54:20 +00:00
Clement Lefebvre
73a412acea Don't run mintinstall as root
It now runs in user mode.
2017-11-12 14:33:42 +00:00
Leigh Scott
ce675497d1 fix indent (#183) 2017-08-26 17:35:45 +02:00
Clement Lefebvre
931ccd73c6 Merge pull request #162 from leigh123linux/master
Port to gtk3
2017-04-28 12:04:14 +01:00
Clement Lefebvre
4dc179d3ed Add Cinnamon support
We can use mintmenu in fallback mode
2016-12-07 01:43:01 +00:00
leigh123linux
150e02c0a0 gtk3 2016-09-06 15:58:34 +01:00
Clement Lefebvre
8adc16e7a7 System: Use pkexec for synaptic 2016-06-06 10:56:01 +01:00
Clement Lefebvre
755083406b Don't refer to /usr/lib/linuxmint/mintInstall/icon.svg 2016-01-21 16:32:58 +00:00
James Lu
d004409af9 Coerse shebangs to #!/usr/bin/python2
Arch Linux's default "python" install points to Python 3, and mintmenu is certainly not compatible with it!

Closes #134.
2015-06-25 17:44:30 -07:00
monsta
51873b120d fixed wrong indentation 2015-01-16 15:16:25 +03:00
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
monsta
7e48fd62cd System plugin: fix applying of settings immediately after changing them 2014-03-27 13:37:39 +04:00
Michael Webster
1b1781d78f Convert system management plugin 2013-03-05 21:14:11 -05:00
Clement Lefebvre
8da9a01db5 Launch mintinstall as root 2012-11-02 15:01:12 +00:00
Clement Lefebvre
a02f49f061 Fixed terminal and desktop icons 2012-05-22 16:43:20 +01:00
Clement Lefebvre
5cb8cb4184 Called mate-screensaver-command instead of xdg-screensaver in MATE 2012-04-18 11:04:43 +01:00
Clement Lefebvre
bc7266ae85 Caja replaces Nautilus and mate-terminal replaces xdg terminal in MATE 2011-11-28 12:44:49 +00:00
Clement Lefebvre
3b92de62d8 Switched support from Gnome/Bonobo to MATE/Component 2011-11-18 10:42:20 +00:00
Clement Lefebvre
0062ed634e Star icon for mintinstall 2011-05-01 17:43:50 +01:00
Clement Lefebvre
f9e70737b1 Xfce support for the system plugin 2011-03-29 19:46:08 +01:00
Clement Lefebvre
cad4c50c73 Indentation 2011-03-29 18:51:59 +01:00
Clement Lefebvre
ae4d79763b DE detected in mintmenu, passed to plugins 2011-03-29 18:50:33 +01:00
Clement Lefebvre
95063d3124 Better defaults, fix bugs with icon size 2010-09-23 18:27:04 +01:00
Clement Lefebvre
3f4868d504 All icon sizes in pixels, added places and system icon sizes in prefs 2010-09-23 17:55:02 +01:00
Clement Lefebvre
d34282c071 Consistency among menu items case 2009-11-06 12:31:41 +00:00
Clement Lefebvre
692e5495cc Changed translation framework 2009-11-03 11:29:52 +00:00
clhodapp
ce2f35fa76 Removed unneeded calls to changePluginSize()
Calls are no longer required now that GetGconfEntries() functions have been altered to perform the required operations
2009-11-03 02:15:18 +08:00
clhodapp
fd1a1b371f Remove unneeded diagnostic text from system plugin 2009-11-03 02:15:18 +08:00
clhodapp
4e897ee0be Changed Lock Screen button to use xdg-screensaver 2009-11-03 02:15:07 +08:00
clhodapp
e4e795740f Auto-apply of system management prefs 2009-11-03 02:15:07 +08:00
clhodapp
d896f93794 Customizing System plugin and lock screen button 2009-10-10 08:09:51 -05:00
Clement Lefebvre
07432a39b2 Removed dependency on mintinstall 2009-10-08 13:46:39 +01:00
Clement Lefebvre
590bb21fe2 Generic names 2009-07-29 22:50:43 +02:00
Clement Lefebvre
e4e01974bb Initial commit 2009-07-27 12:45:34 +02:00