Commit Graph

114 Commits

Author SHA1 Message Date
Icius
1cbff0b2ed Added get_system_item_paths function to retrieve XDG_DATA_DIRS
Changed Logic in onPropsApp to iterate through all XDG_DATA_DIRS
Removed filecmp import
2010-02-06 02:42:31 -05:00
Icius
9551b3fb88 Added the rel_path function. can eventually be replaced by the native 2.6 function
Added logic to handle items that create their own directory in /usr/share/applications such as kde apps
Added logic to determine if the item being modified already exists in the user's directory
Renamed variables and function names per pylint recommendation
2010-02-06 01:56:44 -05:00
Icius
c029e9ac6c changed the os.system command to os.spawnlp. When using os.system, the context menu stays visible while the gnome-desktop-item-edit program is running. Looked a bit strange. This change is at the cost of the cleanup routine to delete idential .desktop files in the users directory. 2010-01-23 01:16:49 -05:00
Icius
8050294021 Added a condition around the local file removal logic to only do it if the .desktop file exists somewhere other than the user's local directory structure. 2010-01-22 16:24:50 -05:00
Icius
8392acfa8e Added code to determine if the user truly modifed the .desktop file using gnome-desktop-item-edit. If they did not make any changes then the user's local copy is removed. 2010-01-22 15:54:03 -05:00
Icius
18a491a38c Added new getUserItemPath function
Renamed "Edit" to "Prop" throughout to indicate Properties of the menu item

Added code in to copy the .desktop file in the /usr directory structure to the user's local directory before editing properties

Updated menuPopup function to include the new functionality as well
2010-01-22 12:43:21 -05:00
Icius
5f419d81f7 Added a simple "Edit" menu item to the Favorites right click context menu to launch gnome-desktop-item-edit in context. Not complete yet, more to do... 2010-01-21 17:59:19 -05:00
Clement Lefebvre
7ef7521e44 Improved gmenu sub-category items detection, added python-gnomeapplet dependency, split other, administration and system tools categories 2009-11-30 15:00:07 +00:00
Clement Lefebvre
f3ffe4c4c6 Changed hover delay from 150 to 50ms 2009-11-20 15:00:56 +00:00
Clement Lefebvre
8bdf2ee117 Commented some old xdg code 2009-11-19 09:05:28 +00:00
Clement Lefebvre
224f0f159f Migrated from pyxdg to gmenu 2009-11-19 00:45:09 +00:00
Clement Lefebvre
692e5495cc Changed translation framework 2009-11-03 11:29:52 +00:00
Clement Lefebvre
d78f9337c9 No suggestions if mintInstall isn't installed 2009-10-09 15:37:05 +08:00
Clement Lefebvre
e4e01974bb Initial commit 2009-07-27 12:45:34 +02:00