diff --git a/gsmartcontrol/NEWS b/gsmartcontrol/NEWS index 055878a..b255f8f 100644 --- a/gsmartcontrol/NEWS +++ b/gsmartcontrol/NEWS @@ -1,6 +1,11 @@ +Version 1.1.3, released on 2017-11-12 + Fixed gsmartcontrol-root not launching if GDK_* variables are not set. + Version 1.1.2, released on 2017-11-11 - Fixed blurriness of icons in main window with GDK_SCALE=2. - Tweaked main window interface. + Fixed gsmartcontrol-root not passing GDK_SCALE and GDK_DPI_SCALE variables + to gsmartcontrol when using PolKit. + Fixed blurriness of icons in the main window with GDK_SCALE=2. + Tweaked the main window interface. Windows: Show volume labels beside drive letters in icon tooltips. Version 1.1.1, released on 2017-09-25 diff --git a/gsmartcontrol/configure.ac b/gsmartcontrol/configure.ac index 072ab03..5a10f97 100644 --- a/gsmartcontrol/configure.ac +++ b/gsmartcontrol/configure.ac @@ -1,5 +1,5 @@ -AC_INIT([GSmartControl],[1.1.2],[],[gsmartcontrol]) +AC_INIT([GSmartControl],[1.1.3],[],[gsmartcontrol]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_HEADERS([config.h]) diff --git a/gsmartcontrol/data/gsmartcontrol-root.in b/gsmartcontrol/data/gsmartcontrol-root.in index 176e193..50fd643 100644 --- a/gsmartcontrol/data/gsmartcontrol-root.in +++ b/gsmartcontrol/data/gsmartcontrol-root.in @@ -138,7 +138,13 @@ if [ "$GSMARTCONTROL_SU" != "" ]; then full_cmd="$GSMARTCONTROL_SU '$EXEC_BIN $final_args_quoted'"; elif [ "$found_su" = "pkexec" ]; then - full_cmd="pkexec --disable-internal-agent $EXEC_BIN $final_args_quoted --gdk-scale='$GDK_SCALE' --gdk-dpi-scale='$GDK_DPI_SCALE'"; + if [ "$GDK_SCALE" != "" ]; then + final_args_quoted="$final_args_quoted --gdk-scale='$GDK_SCALE'" + fi + if [ "$GDK_DPI_SCALE" != "" ]; then + final_args_quoted="$final_args_quoted --gdk-dpi-scale='$GDK_DPI_SCALE'" + fi + full_cmd="pkexec --disable-internal-agent $EXEC_BIN $final_args_quoted"; elif [ "$found_su" = "sux" ]; then full_cmd="xterm -e sux -c '$EXEC_BIN $final_args_quoted'";