[yast-commit] r60202 - in /trunk/gtk/src: pkg/YGPackageSelector.cc pkg/yzyppwrapper.cc pkg/yzyppwrapper.h ygtkfindentry.c ygtkwizard.c
Author: rpmcruz Date: Mon Dec 28 19:16:58 2009 New Revision: 60202 URL: http://svn.opensuse.org/viewcvs/yast?rev=60202&view=rev Log: Remove printfs. Modified: trunk/gtk/src/pkg/YGPackageSelector.cc trunk/gtk/src/pkg/yzyppwrapper.cc trunk/gtk/src/pkg/yzyppwrapper.h trunk/gtk/src/ygtkfindentry.c trunk/gtk/src/ygtkwizard.c Modified: trunk/gtk/src/pkg/YGPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/YGPackageSelector.cc?rev=60202&r1=60201&r2=60202&view=diff ============================================================================== --- trunk/gtk/src/pkg/YGPackageSelector.cc (original) +++ trunk/gtk/src/pkg/YGPackageSelector.cc Mon Dec 28 19:16:58 2009 @@ -2553,7 +2553,7 @@ std::string label; if (getuid() == 0) { const char *username = getenv ("USERNAME"); - if (!username || !*username) + if (!username || !(*username)) username = "root"; label = _("_Open (as "); label += username; @@ -2589,7 +2589,7 @@ const char *username = 0; if (getuid() == 0) { username = getenv ("USERNAME"); - if (!*username) + if (username && !(*username)) username = 0; } Modified: trunk/gtk/src/pkg/yzyppwrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/yzyppwrapper.cc?rev=60202&r1=60201&r2=60202&view=diff ============================================================================== --- trunk/gtk/src/pkg/yzyppwrapper.cc (original) +++ trunk/gtk/src/pkg/yzyppwrapper.cc Mon Dec 28 19:16:58 2009 @@ -615,7 +615,7 @@ #endif std::string url = package->url(), license = package->license(); if (!url.empty()) - text += br + "<b>" + _("Website:") + "</b> <a href=\"" + url + "\">" + url + "</a>"; + text += br + "<b>" + _("Web site:") + "</b> <a href=\"" + url + "\">" + url + "</a>"; if (!license.empty()) text += br + "<b>" + _("License:") + "</b> " + license; #if 0 Modified: trunk/gtk/src/pkg/yzyppwrapper.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/yzyppwrapper.h?rev=60202&r1=60201&r2=60202&view=diff ============================================================================== --- trunk/gtk/src/pkg/yzyppwrapper.h (original) +++ trunk/gtk/src/pkg/yzyppwrapper.h Mon Dec 28 19:16:58 2009 @@ -177,7 +177,6 @@ virtual ~PkgList(); }; -#if 1 // listing of packages as filtered struct PkgQuery : public PkgList { struct Query { @@ -213,7 +212,6 @@ struct Impl; Impl *impl; }; -#endif struct PkgSort : public PkgList { PkgSort (PkgList list, const std::string &prop, bool ascending); Modified: trunk/gtk/src/ygtkfindentry.c URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtkfindentry.c?rev=60202&r1=60201&r2=60202&view=diff ============================================================================== --- trunk/gtk/src/ygtkfindentry.c (original) +++ trunk/gtk/src/ygtkfindentry.c Mon Dec 28 19:16:58 2009 @@ -30,7 +30,6 @@ static void ygtk_ext_entry_map (GtkWidget *widget) { -fprintf (stderr, "ext entry - map\n"); if (GTK_WIDGET_REALIZED (widget) && !GTK_WIDGET_MAPPED (widget)) { GTK_WIDGET_CLASS (ygtk_ext_entry_parent_class)->map (widget); YGtkExtEntry *entry = YGTK_EXT_ENTRY (widget); @@ -43,7 +42,6 @@ static void ygtk_ext_entry_unmap (GtkWidget *widget) { -fprintf (stderr, "ext entry - unmap\n"); if (GTK_WIDGET_MAPPED (widget)) { YGtkExtEntry *entry = YGTK_EXT_ENTRY (widget); if (entry->left_window) @@ -330,7 +328,6 @@ static void ygtk_find_entry_realize (GtkWidget *widget) { -fprintf (stderr, "find entry - realize\n"); GTK_WIDGET_CLASS (ygtk_find_entry_parent_class)->realize (widget); YGtkExtEntry *eentry = YGTK_EXT_ENTRY (widget); @@ -351,7 +348,6 @@ static void ygtk_find_entry_unrealize (GtkWidget *widget) { -fprintf (stderr, "find entry - unrealize\n"); GTK_WIDGET_CLASS (ygtk_find_entry_parent_class)->unrealize (widget); YGtkFindEntry *fentry = YGTK_FIND_ENTRY (widget); Modified: trunk/gtk/src/ygtkwizard.c URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtkwizard.c?rev=60202&r1=60201&r2=60202&view=diff ============================================================================== --- trunk/gtk/src/ygtkwizard.c (original) +++ trunk/gtk/src/ygtkwizard.c Mon Dec 28 19:16:58 2009 @@ -141,7 +141,6 @@ // set close as default widget gtk_widget_grab_default (dialog->close_button); - gtk_widget_grab_focus (dialog->close_button); } static void ygtk_help_dialog_close (YGtkHelpDialog *dialog) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rpmcruz@svn.opensuse.org