Skip to content

Commit

Permalink
Fixes deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 8, 2017
1 parent 11873bd commit 0a33994
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion cmake/vala
2 changes: 1 addition & 1 deletion src/dbusmenu
Submodule dbusmenu updated from 8c08bf to 06c1e0
14 changes: 7 additions & 7 deletions src/snconfig.vala
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ namespace StatusNotifier
[GtkTemplate (ui = "/org/vala-panel/sntray/snconfig.ui"), CCode (cname = "StatusNotifierConfig")]
public class ConfigDialog : Dialog
{
private static const int COLUMN_ID = 0;
private static const int COLUMN_NAME = 1;
private static const int COLUMN_OVERRIDE_INDEX = 2;
private static const int COLUMN_INDEX = 3;
private static const int COLUMN_OVERRIDE_VISIBLE = 4;
private static const int COLUMN_VISIBLE = 5;
private static const int COLUMN_ICON = 6;
private const int COLUMN_ID = 0;
private const int COLUMN_NAME = 1;
private const int COLUMN_OVERRIDE_INDEX = 2;
private const int COLUMN_INDEX = 3;
private const int COLUMN_OVERRIDE_VISIBLE = 4;
private const int COLUMN_VISIBLE = 5;
private const int COLUMN_ICON = 6;

[GtkChild (name = "check-application")]
CheckButton check_application;
Expand Down
22 changes: 11 additions & 11 deletions src/snitembox.vala
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ using GLib;

namespace StatusNotifier
{
public static const string SHOW_APPS = "show-application-status";
public static const string SHOW_COMM = "show-communications";
public static const string SHOW_SYS = "show-system";
public static const string SHOW_HARD = "show-hardware";
public static const string SHOW_OTHER = "show-other";
public static const string SHOW_PASSIVE = "show-passive";
public static const string INDICATOR_SIZE = "indicator-size";
public static const string USE_SYMBOLIC = "symbolic-icons";
public static const string USE_LABELS = "show-ayatana-labels";
public static const string INDEX_OVERRIDE = "index-override";
public static const string FILTER_OVERRIDE = "filter-override";
public const string SHOW_APPS = "show-application-status";
public const string SHOW_COMM = "show-communications";
public const string SHOW_SYS = "show-system";
public const string SHOW_HARD = "show-hardware";
public const string SHOW_OTHER = "show-other";
public const string SHOW_PASSIVE = "show-passive";
public const string INDICATOR_SIZE = "indicator-size";
public const string USE_SYMBOLIC = "symbolic-icons";
public const string USE_LABELS = "show-ayatana-labels";
public const string INDEX_OVERRIDE = "index-override";
public const string FILTER_OVERRIDE = "filter-override";
public class ItemBox : FlowBox
{
static Host host;
Expand Down

0 comments on commit 0a33994

Please sign in to comment.