~cairo-dock-team/cairo-dock-core/cairo-dock

  • Committer: Matthieu Baerts
  • Date: 2014-10-13 09:42:11 UTC
  • Revision ID: matttbe@gmail.com-20141013094211-5z2zsqrjo3pvcg51
X Mgr: a WM class can contain whitespaces (when devs don't respect rules...)

If there are whitespaces in the class, it will no longer be possible to find a dash char and then this code will cause a crash:

    id_end = strrchr (str, '-');
    *id_end = '\0';

Fixed by adding a if check and also by not end the string when there is a whitespace
Filename Latest Rev Last Changed Committer Comment Size
..
gldit 597 13 years ago fabounet finally added a core library Diff
implementations 547 14 years ago fabounet moved gio-vfs.c into the plug-ins and add a backen Diff
cairo-dock-gui-advanced.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 91.9 KB Diff Download File
cairo-dock-gui-advanced.h 1203 11 years ago Fabrice Rey Advanced GUI: fixed a bug that prevented to edit a 940 bytes Diff Download File
cairo-dock-gui-backend.c 1780 9 years ago Fabrice Rey Icon names: replaced all GTK stocks by named icons 7.9 KB Diff Download File
cairo-dock-gui-backend.h 1495 11 years ago Fabrice Rey Updated the rest of the core to the new API and cl 3.5 KB Diff Download File
cairo-dock-gui-commons.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 9.8 KB Diff Download File
cairo-dock-gui-commons.h 1278 11 years ago Matthieu Baerts GUI: Search for an icon path if the module gives u 2.2 KB Diff Download File
cairo-dock-gui-simple.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 19.7 KB Diff Download File
cairo-dock-gui-simple.h 669.1.1 13 years ago matttbe Revert execution rights Updated translations (than 935 bytes Diff Download File
cairo-dock-user-interaction.c 1619 10 years ago Fabrice Rey Core: a bit of code cleaning 18.6 KB Diff Download File
cairo-dock-user-interaction.h 1495 11 years ago Fabrice Rey Updated the rest of the core to the new API and cl 2.5 KB Diff Download File
cairo-dock-user-menu.c 1804 9 years ago Fabrice Rey renamed CairoDockTask into GldiTask -> that's a go 78.2 KB Diff Download File
cairo-dock-user-menu.h 1639 10 years ago Fabrice Rey Menu: made a class dedicated for menus; it's not a 1.1 KB Diff Download File
cairo-dock-widget-config-group.c 1811 9 years ago Matthieu Baerts Widget group: check if the module is found AND has 8.8 KB Diff Download File
cairo-dock-widget-config-group.h 1688 10 years ago Fabrice Rey GUI widget: added the possibility to group several 1.3 KB Diff Download File
cairo-dock-widget-config.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 28.2 KB Diff Download File
cairo-dock-widget-config.h 1158 11 years ago Fabrice Rey GUI: finished to implement the reload of the GUI 1.5 KB Diff Download File
cairo-dock-widget-items.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 38.1 KB Diff Download File
cairo-dock-widget-items.h 1495 11 years ago Fabrice Rey Updated the rest of the core to the new API and cl 2.1 KB Diff Download File
cairo-dock-widget-module.c 1529 10 years ago Fabrice Rey Updated the code to use 'gldi_object_reload' 9.8 KB Diff Download File
cairo-dock-widget-module.h 1495 11 years ago Fabrice Rey Updated the rest of the core to the new API and cl 1.8 KB Diff Download File
cairo-dock-widget-plugins.c 1792 9 years ago Matthieu Baerts GTK: Removed GTK2 support It's time to remove its 14.6 KB Diff Download File
cairo-dock-widget-plugins.h 1157 11 years ago Fabrice Rey GUI: added a reload method to the interface, imple 1.3 KB Diff Download File
cairo-dock-widget-shortkeys.c 1820 9 years ago Matthieu Baerts src: Convert g_print -> cd_debug 10.9 KB Diff Download File
cairo-dock-widget-shortkeys.h 1157 11 years ago Fabrice Rey GUI: added a reload method to the interface, imple 1.4 KB Diff Download File
cairo-dock-widget-themes.c 1804 9 years ago Fabrice Rey renamed CairoDockTask into GldiTask -> that's a go 27.8 KB Diff Download File
cairo-dock-widget-themes.h 1804 9 years ago Fabrice Rey renamed CairoDockTask into GldiTask -> that's a go 1.7 KB Diff Download File
cairo-dock-widget.c 1825 9 years ago Matthieu Baerts GLDI: moving the check of some if null before usin 2.1 KB Diff Download File
cairo-dock-widget.h 1495 11 years ago Fabrice Rey Updated the rest of the core to the new API and cl 1.9 KB Diff Download File
cairo-dock.c 1807 9 years ago Matthieu Baerts cairo-dock.c: check if we already saw the Cairo-Do 37.6 KB Diff Download File
CMakeLists.txt 1639 10 years ago Fabrice Rey Menu: made a class dedicated for menus; it's not a 1.5 KB Diff Download File