Skip to content

Commit

Permalink
Use Granite dialogs on builds for elementary OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ztefn committed Aug 20, 2021
1 parent 2fdc692 commit 9ccc6bc
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dialogs/add-edit-command.vala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ using Gtk;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class AddEditCommand : Granite.Dialog
#else
public class AddEditCommand : Dialog
#endif
{
private string mode;

Expand Down
4 changes: 4 additions & 0 deletions src/dialogs/attach.vala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ using Widgets;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class Attach : Granite.Dialog
#else
public class Attach : Dialog
#endif
{
private MessageBar message_bar;

Expand Down
4 changes: 4 additions & 0 deletions src/dialogs/change-nick.vala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ using Gtk;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class ChangeNick : Granite.Dialog
#else
public class ChangeNick : Dialog
#endif
{
private Label nick_label;
private Entry nick_entry;
Expand Down
4 changes: 4 additions & 0 deletions src/dialogs/change-password.vala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ using Gtk;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class ChangePassword : Granite.Dialog
#else
public class ChangePassword : Dialog
#endif
{
private string password;

Expand Down
4 changes: 4 additions & 0 deletions src/dialogs/join-create-network.vala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ using Widgets;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class JoinCreateNetwork : Granite.Dialog
#else
public class JoinCreateNetwork : Dialog
#endif
{
private string mode;

Expand Down
4 changes: 4 additions & 0 deletions src/preferences.vala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ using Widgets;

namespace Dialogs
{
#if FOR_ELEMENTARY
public class Preferences : Granite.Dialog
#else
public class Preferences : Dialog
#endif
{
public CommandsEditor commands_editor;

Expand Down

0 comments on commit 9ccc6bc

Please sign in to comment.