Commit 6e5e9968 authored by Andreas Rönnquist's avatar Andreas Rönnquist

New upstream version 1.08-src

parent e495301f
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
ChangeLog: ChangeLog:
---------- ----------
1.08
* Fix sizes of properties dialog
* Fix output of GTK warnings in terminal
* Update the text of the recent file menu item
* Update my email address
* Update Swedish translation
1.07 1.07
* Fix typo Coudn't/Couldn't * Fix typo Coudn't/Couldn't
* Fixed more missing NULL-checks * Fixed more missing NULL-checks
......
...@@ -10,20 +10,20 @@ SciteProj ...@@ -10,20 +10,20 @@ SciteProj
SciteProj is a Project Manager for usage with the SciTE text editor. SciteProj is a Project Manager for usage with the SciTE text editor.
It is based on ScitePM by Roy Wood. It is a "director" of SciTE, using It is based on ScitePM by Roy Wood. It is a "director" of SciTE, using
it's director interface to communicate between SciteProj and SciTE. See it's director interface to communicate between SciteProj and SciTE. See
http://www.scintilla.org/SciTEDirector.html http://www.scintilla.org/SciTEDirector.html
for more information. SciteProj is used to browse folders on the harddrive in for more information. SciteProj is used to browse folders on the harddrive in
customizable ways. Previous versions used to load "projects" from XML files, customizable ways. Previous versions used to load "projects" from XML files,
but this was dropped, and now sciteproj shows and works directly on your but this was dropped, and now sciteproj shows and works directly on your
harddrive contents filterable and sortable as you wish. harddrive contents filterable and sortable as you wish.
Running Running
======= =======
SciteProj will load a configuration from the file sciteprojrc.lua first in the SciteProj will load a configuration from the file sciteprojrc.lua first in the
directory specified by $XDG_CONFIG_HOME each program start. This is most likely directory specified by $XDG_CONFIG_HOME each program start. This is most likely
~/.config/sciteprojrc.lua ~/.config/sciteprojrc.lua
...@@ -48,7 +48,7 @@ The options availible in the config file are: ...@@ -48,7 +48,7 @@ The options availible in the config file are:
* The window geometry * The window geometry
You can enter wanted window geometry/positioning, which will be applied to You can enter wanted window geometry/positioning, which will be applied to
the program upon next program start. The variables are xpos, ypos, width and the program upon next program start. The variables are xpos, ypos, width and
height. height.
...@@ -64,31 +64,31 @@ Also, the following options exist: ...@@ -64,31 +64,31 @@ Also, the following options exist:
* use_stock_folder_icon * use_stock_folder_icon
Should we use the system folder icon, or the ones provided by sciteproj? Should we use the system folder icon, or the ones provided by sciteproj?
The sciteproj one are different icons for opened and closed directory, The sciteproj one are different icons for opened and closed directory,
while when using the stock ones there are only one icon for folders, open or while when using the stock ones there are only one icon for folders, open or
closed. closed.
* start_scite * start_scite
Should SciTE be started simultaneously with sciteproj? Should SciTE be started simultaneously with sciteproj?
You can open this configuration file by opening the Edit menu and select Edit You can open this configuration file by opening the Edit menu and select Edit
Options in that menu. This will open sciteprojrc.lua from the current folder as Options in that menu. This will open sciteprojrc.lua from the current folder as
if it was part of your project and edit it in SciTE. if it was part of your project and edit it in SciTE.
SciteProj will give you a warning if it isn't able to find the SciTE SciteProj will give you a warning if it isn't able to find the SciTE
executable on SciteProj start. As default SciTE will be searched for in executable on SciteProj start. As default SciTE will be searched for in
/usr/bin, /bin, and /usr/local/bin, under the names scite and SciTE. If it /usr/bin, /bin, and /usr/local/bin, under the names scite and SciTE. If it
isn't found there you will get a warning upon running. You can also use the isn't found there you will get a warning upon running. You can also use the
--scite flag when running to locate SciTE, for example --scite flag when running to locate SciTE, for example
sciteproj --scite=/bin/scite sciteproj --scite=/bin/scite
will look for the scite executable in the /bin/ folder. SciTE will also be will look for the scite executable in the /bin/ folder. SciTE will also be
searched for in the path pointed to by the environment variable SciTE_HOME. searched for in the path pointed to by the environment variable SciTE_HOME.
By pressing Ctrl+R or choosing "View Recently Opened Files" in the "View" menu, By pressing Ctrl+R or choosing "View Recently Opened Files" in the "View" menu,
you split up the project window in two parts, and the new part contain a list you split up the project window in two parts, and the new part contain a list
of the most recently opened files in the project. The files in this list are of the most recently opened files in the project. The files in this list are
sorted so the ones you opened latest is at the top of the list (or bottom - sorted so the ones you opened latest is at the top of the list (or bottom -
its configurable). its configurable).
Local folder settings Local folder settings
...@@ -155,8 +155,8 @@ Thats it! Enjoy using sciteproj! ...@@ -155,8 +155,8 @@ Thats it! Enjoy using sciteproj!
Credits Credits
======= =======
SciteProj is based on the program ScitePM written by Roy Wood and Martin SciteProj is based on the program ScitePM written by Roy Wood and Martin
Andrews, and is developed by Andreas Rönnquist <gusnan (at) openmailbox (dot) org>. Andrews, and is developed by Andreas Rönnquist <andreas (at) ronnquist (dot) net>.
----------------------------------- -----------------------------------
graphics/sciteproj.xpm graphics/sciteproj.xpm
......
1.07 1.08
\ No newline at end of file \ No newline at end of file
...@@ -23,7 +23,7 @@ main.c menus.c prefs.c properties_dialog.c recent_files.c remove.c\ ...@@ -23,7 +23,7 @@ main.c menus.c prefs.c properties_dialog.c recent_files.c remove.c\
scite_utils.c script.c sort.c statusbar.c string_utils.c tree_manipulation.c\ scite_utils.c script.c sort.c statusbar.c string_utils.c tree_manipulation.c\
menus.h menus.h
XG_ARGS = --keyword=_ --keyword=N_ --keyword=NC_:1c,2 -w 80 --package-name=${NAME} --package-version=${VERSION} --msgid-bugs-address=gusnan@openmailbox.org XG_ARGS = --keyword=_ --keyword=N_ --keyword=NC_:1c,2 -w 80 --package-name=${NAME} --package-version=${VERSION} --msgid-bugs-address=andreas@ronnquist.net
LANGUAGES = sv LANGUAGES = sv
# #
......
# sciteproj pot # SOME DESCRIPTIVE TITLE.
# Copyright (C) 2014, Andreas Rönnquist <gusnan@openmailbox.org> # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the sciteproj package. # This file is distributed under the same license as the sciteproj package.
# Andreas Rönnquist <gusnan@openmailbox.org>, 2014. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: sciteproj 1.00\n" "Project-Id-Version: sciteproj 1.07\n"
"Report-Msgid-Bugs-To: gusnan@openmailbox.org\n" "Report-Msgid-Bugs-To: andreas@ronnquist.net\n"
"POT-Creation-Date: 2014-08-04 20:02+0200\n" "POT-Creation-Date: 2017-08-25 18:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -59,16 +59,16 @@ msgstr "" ...@@ -59,16 +59,16 @@ msgstr ""
msgid "version %s" msgid "version %s"
msgstr "" msgstr ""
#: gui.c:142 #: gui.c:141
msgid "[UNTITLED]" msgid "[UNTITLED]"
msgstr "" msgstr ""
#: gui.c:775 recent_files.c:551 scite_utils.c:216 #: gui.c:774 recent_files.c:557 scite_utils.c:216
#, c-format #, c-format
msgid "Opened %s" msgid "Opened %s"
msgstr "" msgstr ""
#: gui.c:788 gui_callbacks.c:96 recent_files.c:564 recent_files.c:605 #: gui.c:787 gui_callbacks.c:95 recent_files.c:570 recent_files.c:611
#, c-format #, c-format
msgid "" msgid ""
"Could not open selected file: \n" "Could not open selected file: \n"
...@@ -80,62 +80,62 @@ msgstr "" ...@@ -80,62 +80,62 @@ msgstr ""
msgid "Show program version and quit" msgid "Show program version and quit"
msgstr "" msgstr ""
#: main.c:71 #: main.c:72
msgid "Set a filename for the instance of SciTE to open" msgid "Set a filename for the instance of SciTE to open"
msgstr "" msgstr ""
#: main.c:71 #: main.c:72
msgid "SCITE_FILENAME" msgid "SCITE_FILENAME"
msgstr "" msgstr ""
#: main.c:73 #: main.c:75
msgid "Load a folder" msgid "Load a folder"
msgstr "" msgstr ""
#: main.c:75 #: main.c:78
msgid "Start SciTE automatically with SciteProj" msgid "Start SciTE automatically with SciteProj"
msgstr "" msgstr ""
#: main.c:86 #: main.c:90
msgid "SciTE Project Manager" msgid "SciTE Project Manager"
msgstr "" msgstr ""
#: main.c:93 #: main.c:97
#, c-format #, c-format
msgid "option parsing failed: %s" msgid "option parsing failed: %s"
msgstr "" msgstr ""
#: main.c:137 #: main.c:141
#, c-format #, c-format
msgid "A folder is expected as parameter to sciteproj..." msgid "A folder is expected as parameter to sciteproj..."
msgstr "" msgstr ""
#: main.c:176 main.c:186 #: main.c:180 main.c:190
msgid "" msgid ""
"Environment variable exists, but doesn't point to a folder containing scite." "Environment variable exists, but doesn't point to a folder containing scite."
msgstr "" msgstr ""
#: main.c:203 #: main.c:207
#, c-format #, c-format
msgid "Couldn't find a SciTE executable named '%s'!\n" msgid "Couldn't find a SciTE executable named '%s'!\n"
msgstr "" msgstr ""
#: main.c:204 #: main.c:208
msgid "Checking for SciTE in the standard locations instead.\n" msgid "Checking for SciTE in the standard locations instead.\n"
msgstr "" msgstr ""
#: main.c:217 #: main.c:221
msgid "" msgid ""
"Warning! Couldn't locate SciTE!\n" "Warning! Couldn't locate SciTE!\n"
"Program will start, but you won't be able to open SciTE to edit files." "Program will start, but you won't be able to open SciTE to edit files."
msgstr "" msgstr ""
#: main.c:225 #: main.c:229
#, c-format #, c-format
msgid "Could not setup the gui: %s" msgid "Could not setup the gui: %s"
msgstr "" msgstr ""
#: main.c:231 #: main.c:235
#, c-format #, c-format
msgid "Not a valid folder!" msgid "Not a valid folder!"
msgstr "" msgstr ""
...@@ -165,7 +165,7 @@ msgid "Edit properties" ...@@ -165,7 +165,7 @@ msgid "Edit properties"
msgstr "" msgstr ""
#: menus.c:144 #: menus.c:144
msgid "Show Recent Files" msgid "Show Recently Opened Files"
msgstr "" msgstr ""
#: menus.c:151 #: menus.c:151
...@@ -212,35 +212,35 @@ msgstr "" ...@@ -212,35 +212,35 @@ msgstr ""
msgid "Remove file from this list" msgid "Remove file from this list"
msgstr "" msgstr ""
#: properties_dialog.c:64 properties_dialog.c:67 #: properties_dialog.c:76 properties_dialog.c:79
msgid "Group Properties" msgid "Group Properties"
msgstr "" msgstr ""
#: properties_dialog.c:65 properties_dialog.c:159 #: properties_dialog.c:77 properties_dialog.c:171
msgid "OK" msgid "OK"
msgstr "" msgstr ""
#: properties_dialog.c:72 #: properties_dialog.c:85
msgid "Group name:" msgid "Group name:"
msgstr "" msgstr ""
#: properties_dialog.c:73 #: properties_dialog.c:86
msgid "Full folder:" msgid "Full folder:"
msgstr "" msgstr ""
#: properties_dialog.c:158 properties_dialog.c:161 #: properties_dialog.c:170 properties_dialog.c:173
msgid "File Properties" msgid "File Properties"
msgstr "" msgstr ""
#: properties_dialog.c:185 #: properties_dialog.c:197
msgid "Filename:" msgid "Filename:"
msgstr "" msgstr ""
#: properties_dialog.c:186 #: properties_dialog.c:198
msgid "Path:" msgid "Path:"
msgstr "" msgstr ""
#: properties_dialog.c:187 #: properties_dialog.c:199
msgid "File size:" msgid "File size:"
msgstr "" msgstr ""
......
# Swedish translation of SciteProj # Swedish translation of SciteProj
# Copyright (C) 2012-2017 Andreas Rönnquist <gusnan@openmailbox.org> # Copyright (C) 2012-2017 Andreas Rönnquist <andreas@ronnquist.net>
# This file is distributed under the same license as the sciteproj package. # This file is distributed under the same license as the sciteproj package.
# Andreas Rönnquist <gusnan@openmailbox.org>, 2012-2017. # Andreas Rönnquist <andreas@ronnquist.net>, 2012-2017.
# #
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: sciteproj 1.07\n" "Project-Id-Version: sciteproj 1.07\n"
"Report-Msgid-Bugs-To: gusnan@openmailbox.org\n" "Report-Msgid-Bugs-To: andreas@ronnquist.net\n"
"POT-Creation-Date: 2014-08-04 20:02+0200\n" "POT-Creation-Date: 2017-08-25 18:00+0200\n"
"PO-Revision-Date: 2017-07-04 02:11+0200\n" "PO-Revision-Date: 2017-08-25 18:01+0200\n"
"Last-Translator: Andreas Rönnquist <gusnan@openmailbox.org>\n" "Last-Translator: Andreas Rönnquist <andreas@ronnquist.net>\n"
"Language-Team: Swedish\n" "Language-Team: Swedish\n"
"Language: sv\n" "Language: sv\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -28,17 +28,31 @@ msgstr "Licens" ...@@ -28,17 +28,31 @@ msgstr "Licens"
#: about.c:203 #: about.c:203
msgid "" msgid ""
"SciteProj is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" "SciteProj is free software: you can redistribute it and/or modify it under "
"the terms of the GNU General Public License as published by the Free "
"Software Foundation, either version 3 of the License, or (at your option) "
"any later version.\n"
"\n" "\n"
"SciteProj is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" "SciteProj is distributed in the hope that it will be useful, but WITHOUT ANY "
"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS "
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more "
"details.\n"
"\n" "\n"
"You should have received a copy of the GNU General Public License along with SciteProj. If not, see <http://www.gnu.org/licenses/>.\n" "You should have received a copy of the GNU General Public License along with "
"SciteProj. If not, see <http://www.gnu.org/licenses/>.\n"
msgstr "" msgstr ""
"SciteProj är fri mjukvara: du kan redistribuera det och/eller modifiera det enligt villkoren i GNU General Public License som publicerad av the Free Software Foundation; enligt version 3, eller (efter ditt eget val) någon senare version.\n" "SciteProj är fri mjukvara: du kan redistribuera det och/eller modifiera det "
"enligt villkoren i GNU General Public License som publicerad av the Free "
"Software Foundation; enligt version 3, eller (efter ditt eget val) någon "
"senare version.\n"
"\n" "\n"
"SciteProj distribueras med förhoppningen att det kommer att vara användbart, men UTAN NÅGON SOM HELST GARANTI; utan ens den implicita garantin av SÄLJBARHET eller ÄNDAMÅLSENLIGHET FÖR NÅGOT SÄRSKILT SYFTE. Se GNU General Public License för fler detaljer.\n" "SciteProj distribueras med förhoppningen att det kommer att vara användbart, "
"men UTAN NÅGON SOM HELST GARANTI; utan ens den implicita garantin av "
"SÄLJBARHET eller ÄNDAMÅLSENLIGHET FÖR NÅGOT SÄRSKILT SYFTE. Se GNU General "
"Public License för fler detaljer.\n"
"\n" "\n"
"Du bör ha fått en kopia av GNU General Public License tillsammans med detta program; om inte, se <http://www.gnu.org/licenses/>.\n" "Du bör ha fått en kopia av GNU General Public License tillsammans med detta "
"program; om inte, se <http://www.gnu.org/licenses/>.\n"
#: about.c:250 #: about.c:250
msgid "SciteProj is based on ScitePM by" msgid "SciteProj is based on ScitePM by"
...@@ -61,16 +75,16 @@ msgstr "" ...@@ -61,16 +75,16 @@ msgstr ""
msgid "version %s" msgid "version %s"
msgstr "version %s" msgstr "version %s"
#: gui.c:142 #: gui.c:141
msgid "[UNTITLED]" msgid "[UNTITLED]"
msgstr "[NAMNLÖS]" msgstr "[NAMNLÖS]"
#: gui.c:775 recent_files.c:551 scite_utils.c:216 #: gui.c:774 recent_files.c:557 scite_utils.c:216
#, c-format #, c-format
msgid "Opened %s" msgid "Opened %s"
msgstr "Öppnade %s" msgstr "Öppnade %s"
#: gui.c:788 gui_callbacks.c:96 recent_files.c:564 recent_files.c:605 #: gui.c:787 gui_callbacks.c:95 recent_files.c:570 recent_files.c:611
#, c-format #, c-format
msgid "" msgid ""
"Could not open selected file: \n" "Could not open selected file: \n"
...@@ -85,63 +99,66 @@ msgstr "" ...@@ -85,63 +99,66 @@ msgstr ""
msgid "Show program version and quit" msgid "Show program version and quit"
msgstr "Visa programversion och avsluta" msgstr "Visa programversion och avsluta"
#: main.c:71 #: main.c:72
msgid "Set a filename for the instance of SciTE to open" msgid "Set a filename for the instance of SciTE to open"
msgstr "Sätt ett filnamn för instansen av SciTE du önskar köra" msgstr "Sätt ett filnamn för instansen av SciTE du önskar köra"
#: main.c:71 #: main.c:72
msgid "SCITE_FILENAME" msgid "SCITE_FILENAME"
msgstr "SCITE_FILNAMN" msgstr "SCITE_FILNAMN"
#: main.c:73 #: main.c:75
msgid "Load a folder" msgid "Load a folder"
msgstr "Ladda en mapp" msgstr "Ladda en mapp"
#: main.c:75 #: main.c:78
msgid "Start SciTE automatically with SciteProj" msgid "Start SciTE automatically with SciteProj"
msgstr "Starta SciTE automatiskt med SciteProj" msgstr "Starta SciTE automatiskt med SciteProj"
#: main.c:86 #: main.c:90
msgid "SciTE Project Manager" msgid "SciTE Project Manager"
msgstr "SciTE Projekthanterare" msgstr "SciTE Projekthanterare"
#: main.c:93 #: main.c:97
#, c-format #, c-format
msgid "option parsing failed: %s" msgid "option parsing failed: %s"
msgstr "tolkning av alternativ misslyckades: %s" msgstr "tolkning av alternativ misslyckades: %s"
#: main.c:137 #: main.c:141
#, c-format #, c-format
msgid "A folder is expected as parameter to sciteproj..." msgid "A folder is expected as parameter to sciteproj..."
msgstr "En mapp väntas som parameter till sciteproj..." msgstr "En mapp väntas som parameter till sciteproj..."
#: main.c:176 main.c:186 #: main.c:180 main.c:190
msgid "Environment variable exists, but doesn't point to a folder containing scite." msgid ""
msgstr "Miljövariabeln finns, men hänvisar inte till någon mapp som innehåller scite." "Environment variable exists, but doesn't point to a folder containing scite."
msgstr ""
"Miljövariabeln finns, men hänvisar inte till någon mapp som innehåller scite."
#: main.c:203 #: main.c:207
#, c-format #, c-format
msgid "Couldn't find a SciTE executable named '%s'!\n" msgid "Couldn't find a SciTE executable named '%s'!\n"
msgstr "Kunde inte hitta en körbar fil för SciTE med namnet '%s'!\n" msgstr "Kunde inte hitta en körbar fil för SciTE med namnet '%s'!\n"
#: main.c:204 #: main.c:208
msgid "Checking for SciTE in the standard locations instead.\n" msgid "Checking for SciTE in the standard locations instead.\n"
msgstr "Kollar efter SciTE på standard-platserna istället.\n" msgstr "Kollar efter SciTE på standard-platserna istället.\n"
#: main.c:217 #: main.c:221
msgid "" msgid ""
"Warning! Couldn't locate SciTE!\n" "Warning! Couldn't locate SciTE!\n"
"Program will start, but you won't be able to open SciTE to edit files." "Program will start, but you won't be able to open SciTE to edit files."
msgstr "" msgstr ""
"Varning! Kunde inte hitta SciTE!\n" "Varning! Kunde inte hitta SciTE!\n"
"Programmet kommer att starta, men du kommer inte kunna använda SciTE för att editera filer." "Programmet kommer att starta, men du kommer inte kunna använda SciTE för att "
"editera filer."
#: main.c:225 #: main.c:229
#, c-format #, c-format
msgid "Could not setup the gui: %s" msgid "Could not setup the gui: %s"
msgstr "Kunde inte ställa in GUI: %s" msgstr "Kunde inte ställa in GUI: %s"
#: main.c:231 #: main.c:235
#, c-format #, c-format
msgid "Not a valid folder!" msgid "Not a valid folder!"
msgstr "Inte en giltig mapp!" msgstr "Inte en giltig mapp!"
...@@ -171,8 +188,8 @@ msgid "Edit properties" ...@@ -171,8 +188,8 @@ msgid "Edit properties"
msgstr "Editera egenskaper" msgstr "Editera egenskaper"
#: menus.c:144 #: menus.c:144
msgid "Show Recent Files" msgid "Show Recently Opened Files"
msgstr "Visa senaste filer" msgstr "Visa nyligen öppnade filer"
#: menus.c:151 #: menus.c:151
msgid "About" msgid "About"
...@@ -218,35 +235,35 @@ msgstr "Uppdatera mappinnehåll" ...@@ -218,35 +235,35 @@ msgstr "Uppdatera mappinnehåll"
msgid "Remove file from this list" msgid "Remove file from this list"
msgstr "Ta bort fil från denna lista" msgstr "Ta bort fil från denna lista"
#: properties_dialog.c:64 properties_dialog.c:67 #: properties_dialog.c:76 properties_dialog.c:79
msgid "Group Properties" msgid "Group Properties"
msgstr "Mappegenskaper" msgstr "Mappegenskaper"
#: properties_dialog.c:65 properties_dialog.c:159 #: properties_dialog.c:77 properties_dialog.c:171
msgid "OK" msgid "OK"
msgstr "OK" msgstr "OK"
#: properties_dialog.c:72 #: properties_dialog.c:85
msgid "Group name:" msgid "Group name:"
msgstr "Gruppnamn:" msgstr "Gruppnamn:"
#: properties_dialog.c:73 #: properties_dialog.c:86
msgid "Full folder:" msgid "Full folder:"
msgstr "Fullt mappnamn:" msgstr "Fullt mappnamn:"
#: properties_dialog.c:158 properties_dialog.c:161 #: properties_dialog.c:170 properties_dialog.c:173
msgid "File Properties" msgid "File Properties"
msgstr "Filegenskaper" msgstr "Filegenskaper"
#: properties_dialog.c:185 #: properties_dialog.c:197
msgid "Filename:" msgid "Filename:"
msgstr "Filnamn:" msgstr "Filnamn:"
#: properties_dialog.c:186 #: properties_dialog.c:198
msgid "Path:" msgid "Path:"
msgstr "Sökväg:" msgstr "Sökväg:"
#: properties_dialog.c:187 #: properties_dialog.c:199
msgid "File size:" msgid "File size:"
msgstr "Filstorlek:" msgstr "Filstorlek:"
...@@ -321,3 +338,6 @@ msgstr "Fel:%s" ...@@ -321,3 +338,6 @@ msgstr "Fel:%s"
#: statusbar.c:57 #: statusbar.c:57
msgid "Welcome to SciteProj\n" msgid "Welcome to SciteProj\n"
msgstr "Välkommen till SciteProj\n" msgstr "Välkommen till SciteProj\n"
#~ msgid "Show Recent Files"
#~ msgstr "Visa senaste filer"
...@@ -34,4 +34,4 @@ Specifies the position and size of the program window on start ...@@ -34,4 +34,4 @@ Specifies the position and size of the program window on start
.IP "give_scite_focus" .IP "give_scite_focus"
.SH AUTHOR .SH AUTHOR
.B SciteProj .B SciteProj
was written by Andreas Rönnquist <gusnan@openmailbox.org>. was written by Andreas Rönnquist <andreas@ronnquist.net>.
...@@ -147,7 +147,7 @@ void create_about_dialog() ...@@ -147,7 +147,7 @@ void create_about_dialog()
#endif #endif
// Show SciteProj copyrights // Show SciteProj copyrights
copyrightstring = g_strdup_printf("Copyright (C) 2008-2017 Andreas Rönnquist <gusnan@openmailbox.org>"); copyrightstring = g_strdup_printf("Copyright (C) 2008-2017 Andreas Rönnquist <andreas@ronnquist.net>");
copyright_label = gtk_label_new(copyrightstring); copyright_label = gtk_label_new(copyrightstring);
gtk_label_set_selectable(GTK_LABEL(copyright_label), FALSE); gtk_label_set_selectable(GTK_LABEL(copyright_label), FALSE);
......
...@@ -562,7 +562,7 @@ gchar *clean_folder(gchar *infolder) ...@@ -562,7 +562,7 @@ gchar *clean_folder(gchar *infolder)
int len = strlen(infolder); int len = strlen(infolder);
if (g_strcmp0(infolder, "./")==0) { if (g_strcmp0(infolder, "./") == 0) {
result = g_strdup_printf("."); result = g_strdup_printf(".");
return result; return result;
...@@ -576,7 +576,7 @@ gchar *clean_folder(gchar *infolder) ...@@ -576,7 +576,7 @@ gchar *clean_folder(gchar *infolder)
} }
if (temp[len-1] == G_DIR_SEPARATOR) { if (temp[len-1] == G_DIR_SEPARATOR) {
result = g_strndup(temp, len-1); result = g_strndup(temp, len - 1);
} else { } else {
result = g_strdup(temp); result = g_strdup(temp);
} }
......
...@@ -86,13 +86,13 @@ gboolean load_graphics(GtkWidget *widget, GError **err) ...@@ -86,13 +86,13 @@ gboolean load_graphics(GtkWidget *widget, GError **err)
directory_closed_pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)dir_close_xpm); directory_closed_pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)dir_close_xpm);
} }
GdkDisplay *default_display = NULL; GdkDisplay *default_display = NULL;
default_display = gdk_display_get_default(); default_display = gdk_display_get_default();
standard_cursor=gdk_cursor_new_for_display(default_display, GDK_X_CURSOR); standard_cursor = gdk_cursor_new_for_display(default_display, GDK_X_CURSOR);
busy_cursor=gdk_cursor_new_for_display(default_display, GDK_WATCH); busy_cursor = gdk_cursor_new_for_display(default_display, GDK_WATCH);
return TRUE; return TRUE;
} }
......
...@@ -997,3 +997,12 @@ void recent_files_switch_visible() ...@@ -997,3 +997,12 @@ void recent_files_switch_visible()
#endif #endif
} }
/**
*
*/
void set_dialog_transient(GtkWidget *dialog)
{
gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(sMainWindow));
}
\ No newline at end of file
...@@ -56,4 +56,6 @@ gboolean dialog_response_is_exit(gint test); ...@@ -56,4 +56,6 @@ gboolean dialog_response_is_exit(gint test);
void recent_files_switch_visible();