From d2252dffaedda4d2d85e6c4c88e10c9aebc030ff Mon Sep 17 00:00:00 2001 From: mishas Date: Tue, 3 Apr 2007 15:50:37 +0000 Subject: [PATCH] a bit of re-formatting: tabs to spaces git-svn-id: file:///svnroot/simple-launcher/trunk@144 3ba93dab-e023-0410-b42a-de7732cf370a --- TODO | 6 +++--- settings-dialog.cc | 24 +++++++++++++----------- settings-dialog.h | 8 +++++--- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/TODO b/TODO index b3a23b0..e3f4b70 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,7 @@ Before 1.0 After 1.0 * review the code and make it less hackish * re-factor the items - * see BasicItem somewhere on my hard disk :) + * see BasicItem somewhere on my hard disk :) * re-implement hildon applications for that * at the start we should have at least one button: that activates configuration dialog * add possibility to start CLI apps @@ -16,7 +16,7 @@ After 1.0 Non-planned * show a note in postinst about activating the applet - * must only be done if a fresh installation is performed + * must only be done if a fresh installation is performed * during first start populate the toolbar with existing pre-defined applications -# vim:si:ai +# vim:si:ai:ts=2:et diff --git a/settings-dialog.cc b/settings-dialog.cc index 1580a8e..ed8c60c 100644 --- a/settings-dialog.cc +++ b/settings-dialog.cc @@ -32,27 +32,27 @@ inline void addPage(GtkNotebook *notebook, const std::string& name, GtkWidget *w } inline GtkWidget *packItTogether(GtkSizeGroup *group, const std::string& name, GtkWidget *content) { - GtkWidget *box = gtk_hbox_new(false, 0); - GtkWidget *label = gtk_label_new(name.c_str()); + GtkWidget *box = gtk_hbox_new(false, 0); + GtkWidget *label = gtk_label_new(name.c_str()); - gtk_size_group_add_widget(group, label); + gtk_size_group_add_widget(group, label); gtk_box_pack_start(GTK_BOX(box), label, true, true, 0); gtk_box_pack_start(GTK_BOX(box), content, true, true, 0); - return box; + return box; } inline GtkWidget *createUIPage() { - GtkSizeGroup *group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); - GtkWidget *vbox = gtk_vbox_new(true, 0); + GtkSizeGroup *group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); + GtkWidget *vbox = gtk_vbox_new(true, 0); - // packItTogether(group, "Button Size:", ); - // packItTogether(group, "Button Size:", [ ]); - // packItTogether(group, "Button Size:", [ ]); + // packItTogether(group, "Button Size:", ); + // packItTogether(group, "Button Size:", [ ]); + // packItTogether(group, "Button Size:", [ ]); - g_object_unref(G_OBJECT(group)); + g_object_unref(G_OBJECT(group)); - return vbox; + return vbox; } SettingsDialog::SettingsDialog(GtkWindow *parent, int size, LauncherItems& items) : myList(size, items) { @@ -77,3 +77,5 @@ gint SettingsDialog::run() { return gtk_dialog_run(myDialog); } + +// vim:ts=2:sw=2:et diff --git a/settings-dialog.h b/settings-dialog.h index 7a0333a..4de69ef 100644 --- a/settings-dialog.h +++ b/settings-dialog.h @@ -25,15 +25,17 @@ class SettingsDialog { public: - SettingsDialog(GtkWindow *, int, LauncherItems&); + SettingsDialog(GtkWindow *, int, LauncherItems&); ~SettingsDialog(); - gint run(); + gint run(); private: SLAList myList; - GtkDialog *myDialog; + GtkDialog *myDialog; }; #endif + +// vim:ts=2:sw=2:et -- 1.7.9.5