[maemo-commits] [maemo-commits] r8644 - in projects/haf/trunk/hildon-theme-tools: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Dec 5 16:32:55 EET 2006
- Previous message: [maemo-commits] r8643 - in projects/haf/trunk/hildon-theme-tools: . src
- Next message: [maemo-commits] r8645 - in projects/haf/trunk/hildon-theme-layout-3: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: mdk Date: 2006-12-05 16:32:54 +0200 (Tue, 05 Dec 2006) New Revision: 8644 Modified: projects/haf/trunk/hildon-theme-tools/ChangeLog projects/haf/trunk/hildon-theme-tools/src/colourizer.c projects/haf/trunk/hildon-theme-tools/src/outliner.c projects/haf/trunk/hildon-theme-tools/src/regenerator.c projects/haf/trunk/hildon-theme-tools/src/slicer.c Log: Fixing the prg_name brokeness. Modified: projects/haf/trunk/hildon-theme-tools/ChangeLog =================================================================== --- projects/haf/trunk/hildon-theme-tools/ChangeLog 2006-12-05 14:24:34 UTC (rev 8643) +++ projects/haf/trunk/hildon-theme-tools/ChangeLog 2006-12-05 14:32:54 UTC (rev 8644) @@ -1,5 +1,12 @@ -2006-12-05 Michael Dominic K. <mdk at mdk.am> +2006-12-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + * src/colourizer.c: + * src/outliner.c: + * src/regenerator.c: + * src/slicer.c: Fixing the prg_name brokeness. + +2006-12-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + * NEWS: * src/outliner.c: Outliner tool will also now outline colors. The generated layers have alpha set to 100% (since it can be manipulated Modified: projects/haf/trunk/hildon-theme-tools/src/colourizer.c =================================================================== --- projects/haf/trunk/hildon-theme-tools/src/colourizer.c 2006-12-05 14:24:34 UTC (rev 8643) +++ projects/haf/trunk/hildon-theme-tools/src/colourizer.c 2006-12-05 14:32:54 UTC (rev 8644) @@ -75,7 +75,7 @@ /* Show some info about basic usage of the tool */ void show_usage (void) { - g_print ("Usage: %s <template> <image>\n\n", g_get_prgname ()); + g_print ("Usage: %s <layout> <image>\n\n", g_get_prgname ()); g_print ("This tool will output a Perl substitution array. \n" "It should be used to substitute the Gtk Stock colors in various RC files.\n\n"); } @@ -90,6 +90,7 @@ GdkPixbuf *image = NULL; g_type_init (); + g_set_prgname (g_basename (argv [0])); /* Check the args... */ if (argc != 3) { Modified: projects/haf/trunk/hildon-theme-tools/src/outliner.c =================================================================== --- projects/haf/trunk/hildon-theme-tools/src/outliner.c 2006-12-05 14:24:34 UTC (rev 8643) +++ projects/haf/trunk/hildon-theme-tools/src/outliner.c 2006-12-05 14:32:54 UTC (rev 8644) @@ -144,6 +144,7 @@ GdkPixbuf *output_image = NULL; g_type_init (); + g_set_prgname (g_basename (argv [0])); /* Check the args... */ if (argc < 3) { Modified: projects/haf/trunk/hildon-theme-tools/src/regenerator.c =================================================================== --- projects/haf/trunk/hildon-theme-tools/src/regenerator.c 2006-12-05 14:24:34 UTC (rev 8643) +++ projects/haf/trunk/hildon-theme-tools/src/regenerator.c 2006-12-05 14:32:54 UTC (rev 8644) @@ -90,7 +90,7 @@ /* Show some info about basic usage of the tool */ void show_usage (void) { - g_print ("Usage: %s <template> <outputimage> [inputdir]\n\n", g_get_prgname ()); + g_print ("Usage: %s <layout> <outputimage> [inputdir]\n\n", g_get_prgname ()); g_print ("This tool will combine individual images (ie. previously sliced) into one huge\n" "image template as specified by the layout template. Optionally you can specify an\n" "input directory. The tool can load in PNG and JPEG formats.\n\n"); @@ -107,7 +107,8 @@ GdkPixbuf *output_image = NULL; g_type_init (); - + g_set_prgname (g_basename (argv [0])); + /* Check the args... */ if (argc < 3) { show_banner (); Modified: projects/haf/trunk/hildon-theme-tools/src/slicer.c =================================================================== --- projects/haf/trunk/hildon-theme-tools/src/slicer.c 2006-12-05 14:24:34 UTC (rev 8643) +++ projects/haf/trunk/hildon-theme-tools/src/slicer.c 2006-12-05 14:32:54 UTC (rev 8644) @@ -171,7 +171,7 @@ /* Show some info about basic usage of the tool */ void show_usage (void) { - g_print ("Usage: %s <template> <image> [outputdir]\n\n", g_get_prgname ()); + g_print ("Usage: %s <layout> <image> [outputdir]\n\n", g_get_prgname ()); g_print ("This tool will slice the input image into individual graphic pieces,\n" "as specified by the template. Optionally you can specify an output directory.\n" "If the directory is not present, it'll be created.\n\n"); @@ -189,6 +189,7 @@ GdkPixbuf *image = NULL; g_type_init (); + g_set_prgname (g_basename (argv [0])); /* Check the args... */ if (argc < 3) {
- Previous message: [maemo-commits] r8643 - in projects/haf/trunk/hildon-theme-tools: . src
- Next message: [maemo-commits] r8645 - in projects/haf/trunk/hildon-theme-layout-3: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]